Table of Contents

Class TextMessageContent

Namespace
Line.OpenApi.Messaging.Webhook.Generated.Models
Assembly
Line.OpenApi.Messaging.Webhook.dll
public class TextMessageContent : MessageContent, IAdditionalDataHolder, IParsable
Inheritance
TextMessageContent
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Properties

Emojis

Array of one or more LINE emoji objects. Only included in the message event when the text property contains a LINE emoji.

public List<Emoji>? Emojis { get; set; }

Property Value

List<Emoji>

MarkAsReadToken

Token used to mark the message as read.

public string? MarkAsReadToken { get; set; }

Property Value

string

Mention

The mention property

public Mention? Mention { get; set; }

Property Value

Mention

QuoteToken

Quote token to quote this message.

public string? QuoteToken { get; set; }

Property Value

string

QuotedMessageId

Message ID of a quoted message. Only included when the received message quotes a past message.

public string? QuotedMessageId { get; set; }

Property Value

string

Text

Message text.

public string? Text { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

Creates a new instance of the appropriate class based on discriminator value

public static TextMessageContent CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

The parse node to use to read the discriminator value and create the object

Returns

TextMessageContent

A TextMessageContent

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

writer ISerializationWriter

Serialization writer to use to serialize this model