Description
This object represents a type of button sent as a part of UiState. Text of a caption is sent to a dialog as new message from user when he pushes this button.
Structure
Variable | Obligative | Type | Validation | Description |
---|---|---|---|---|
caption | true | String | Caption length should be <= 32, recommended is 20 | Title of a button displayed in messenger’s UI, when button is pushed by a user this text is sent to a dialog as a new message from user |
Sample object
"replyKeyboard": [
{
"caption":"Reply button"
}
]