


The final height will be not less than height of system keyboard How much percent of free screen space in chat should be taken by keyboard. Maximal height will be native keyboard height When true - the keyboard will always be displayed with the same height as the native keyboard.When false - short keyboards will be displayed with the minimal possible height. See buttons parameters below for buttons parameters details Array containing all keyboard buttons by order. If you use api level 3 parameters you will have to set the min_api_version parameter on right api level as well. Please note: The api level 3 is supported on devices running Viber version 7.6 and above. The example below shows a keyboard sent with a single message. From the background color, number of buttons and so on. The keyboard JSON object defines different visual and logic attributes. To attach a keyboard to a message simply add the keyboard’s parameters to the message JSON. Keyboards can be attached to any message type and be sent and displayed together. The client will always display the last keyboard that was sent to it. The keyboards are fully customizable and can be created and designed specifically for the bot’s needs. Once received, the keyboard will appear to the user instead of the device’s native keyboard. The keyboard can be attached to any message type or sent on its own. The Chat Bot API allows sending a custom keyboard with each message, to supply the user with a set of predefined replies or actions.
