Class ConversationEvent (3.5.0)

public sealed class ConversationEvent : IMessage<ConversationEvent>, IEquatable<ConversationEvent>, IDeepCloneable<ConversationEvent>, IBufferMessage, IMessage

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

Inheritance

Object > ConversationEvent

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

ConversationEvent()

public ConversationEvent()

ConversationEvent(ConversationEvent)

public ConversationEvent(ConversationEvent other)
Parameter
NameDescription
otherConversationEvent

Properties

Conversation

public string Conversation { get; set; }

The unique identifier of the conversation this notification refers to. Format: projects/{Project ID}/conversations/{Conversation ID}.

Property Value
TypeDescription
String

ErrorStatus

public Status ErrorStatus { get; set; }

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

Property Value
TypeDescription
Status

NewMessagePayload

public Message NewMessagePayload { get; set; }

Payload of NEW_MESSAGE event.

Property Value
TypeDescription
Message

PayloadCase

public ConversationEvent.PayloadOneofCase PayloadCase { get; }
Property Value
TypeDescription
ConversationEvent.PayloadOneofCase

Type

public ConversationEvent.Types.Type Type { get; set; }

The type of the event that this notification refers to.

Property Value
TypeDescription
ConversationEvent.Types.Type