Constructor
new InteractiveMessage(body, actions, options)
Parameters:
| Name | Type | Description |
|---|---|---|
body |
string | Message body |
actions |
Array.<InteractiveMessageAction> | One to three actions |
options |
InteractiveMessageOptions | Message options |
- Source:
Members
actions :ReadonlyArray.<Object>
Type:
- ReadonlyArray.<Object>
- Source:
body :string
Type:
- string
- Source:
buttons :ReadonlyArray.<Object>
Type:
- ReadonlyArray.<Object>
- Source:
fallbackText :string
Type:
- string
- Source:
footer :string|undefined
Type:
- string | undefined
- Source:
header :Object|undefined
Type:
- Object | undefined
- Source:
interactiveType :'native_flow'
Type:
- 'native_flow'
- Source:
messageParamsJson :'{}'
Type:
- '{}'
- Source:
messageVersion :1
Type:
- 1
- Source:
nativeFlowName :string
Type:
- string
- Source:
wireData :Readonly.<Object>
Type:
- Readonly.<Object>
- Source:
Methods
toJSON() → {Readonly.<Object>}
Returns the deeply frozen, serializable bridge descriptor.
- Source:
Returns:
- Type
- Readonly.<Object>