Skip to content

@line/bot-sdkDocs


@line/bot-sdk / TextMessage

Type Alias: TextMessage

TextMessage: MessageCommon & CanQuoteMessage & object

Type declaration

emojis?

optional emojis: object[]

One or more LINE emoji.

Max: 20 LINE emoji

text

text: string

Message text. You can include the following emoji:

  • LINE emojis. Use a $ character as a placeholder and specify the product ID and emoji ID of the LINE emoji you want to use in the emojis property.
  • Unicode emoji
  • (Deprecated) LINE original unicode emojis (Unicode codepoint table for LINE original emoji)

Max: 5000 characters

type

type: "text"

See

Text message

Defined in

lib/types.ts:683