Class MessageEvent
Webhook event object which contains the sent message.
public class MessageEvent : Event, IAdditionalDataHolder, IParsable
- Inheritance
-
MessageEvent
- Implements
-
IAdditionalDataHolderIParsable
- Inherited Members
Properties
Message
The message property
public MessageContent? Message { get; set; }
Property Value
ReplyToken
The replyToken property
public string? ReplyToken { get; set; }
Property Value
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static MessageEvent CreateFromDiscriminatorValue(IParseNode parseNode)
Parameters
parseNodeIParseNodeThe parse node to use to read the discriminator value and create the object
Returns
GetFieldDeserializers()
The deserialization information for the current model
public override IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
Returns
- IDictionary<string, Action<IParseNode>>
A IDictionary<string, Action<IParseNode>>
Serialize(ISerializationWriter)
Serializes information the current object
public override void Serialize(ISerializationWriter writer)
Parameters
writerISerializationWriterSerialization writer to use to serialize this model