Skip to content

@line/bot-sdkDocs


@line/bot-sdk / TextEventMessage

Type Alias: TextEventMessage

TextEventMessage: object & QuotableMessage & EventMessageBase

Message object which contains the text sent from the source.

Type declaration

emojis?

optional emojis: object[]

Sendable LINE emojis

mention?

optional mention: object

Object containing the contents of the mentioned user.

mention.mentionees

mentionees: object[]

Mentioned user information. Max: 20 mentions

quotedMessageId?

optional quotedMessageId: string

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

text

text: string

type

type: "text"

Defined in

lib/types.ts:406