Skip to content

@line/bot-sdkDocs


@line/bot-sdk / MessageAction

Type Alias: MessageAction

MessageAction: object

When a control associated with this action is tapped, the string in the text property is sent as a message from the user.

Type declaration

text

text: string

Text sent when the action is performed (Max: 300 characters)

type

type: "message"

Defined in

lib/types.ts:2217