ConversationEvent

Represents a notification sent to Pub/Sub subscribers for conversation lifecycle events.

JSON representation
{
  "conversation": string,
  "type": enum (Type),
  "errorStatus": {
    object (Status)
  },
  "newMessagePayload": {
    object (Message)
  }
}
Fields
conversation

string

Required. The unique identifier of the conversation this notification refers to. Format: projects/<Project ID>/conversations/<Conversation ID>.

type

enum (Type)

Required. The type of the event that this notification refers to.

errorStatus

object (Status)

Optional. More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.

newMessagePayload

object (Message)

Payload of NEW_MESSAGE event.