Home Manual Reference Source Repository
import {TemplateMessageAction} from '@3846masa/linebot/lib/LineActions'
public class | source

TemplateMessageAction

Extends:

TemplateAction → TemplateMessageAction

Message action

See:

Constructor Summary

Public Constructor
public

constructor(params: Object)

Member Summary

Public Members
public

Text sent when the action is performed.

Inherited Summary

From class TemplateAction
public

Label for the action.

public

Identifier for the type of action.

Public Constructors

public constructor(params: Object) source

Params:

NameTypeAttributeDescription
params Object
params.label string

Label for the action. (Max: 20 chars)

params.text string

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

Public Members

public text: string source

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