WordPress Telegram Bot - Rules - Keyboard Buttons
Keyboard Buttons
Telegram Bot Rules
Overview | Email Repeater | Personal Messages and Group Messages | Channel Messages | SMS Repeater | SMS Alert | WordPress Repeater | Email Triggers | Keyboard Buttons | Callbacks | Menu Button & Commands
What This Rule Does
The WordPress Telegram Bot allows you to add keyboard buttons to telegram groups where your bot is set as an admin.
Note: this feature was introduced in version 1.1.0 of the WordPress Telegram Bot plugin.
Inline Keyboard Buttons Example:
![Front-end example - Telegram Bot Plugin for WordPress](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/666ae765e1989867dcefdeec/file-X033SAsXdq.png)
Custom Keyboard Buttons Example:
![Front-end example - WordPress Telegram Plugin](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/666ae7c35940934e140f4b3d/file-UxpMbh29ah.png)
Setting Up Keyboard Buttons
At the top of the form you can find the following settings:
![Creating Keyboard Buttons rule - Telegram WordPress Widget](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/669508435940934e140f5ff8/file-epogkXwhAP.png)
- Repeater Name - Specify the repeater name.
- Status - Set the rule as active or paused.
- Command - Set the word that should trigger keyboard buttons. The command should start with slash - "/". The user will have to ty[e the command with slash also, for example: /hello.
- Output Text - Specify text that will be displayed above keyboard buttons.
- Button Type - There're two types of button type, and the following settings depend on the choice. You can choose between:
- Inline Keyboard
- Custom Keyboard
Inline Keyboard
If Inline Keyboard button type is chosen, you can see 9 sets with the same options under the Buttons section:
![Inline Keyboard settings - Telegram Plugin for WordPress](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/6695088de1989867dceff3f3/file-Ulcbhbeu6x.png)
- Label X - Define text which will be displayed in the button.
- Action X - Choose the action type:
- Text
- URL
- Shortcode
- Callback (this feature was introduced in version 1.1.2. Learn more)
- Content X - Add the content which is relevant for the chosen button Action.
Custom Keyboard
If Custom Keyboard button type is chosen, you can see the following options:
![Custom Keyboard settings - Telegram Group Bot Manager](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/6695096edd0f8c60bb3fe649/file-SrmgLo1ySD.png)
- One Time Keyboard - If enabled, the keyboard will be shown only one time. To see the keyboard again, the user has to type the command again. Note: this option was intrduced in version 1.1.1.
- Resize Keyboard - Choose if you want to resize the buttons:
True
Front-end example False
Front-end example
- Is Persistent - Ensures the keyboard remains on the screen until the user explicitly closes it.
True - On the mobile device the keyboard will be displayed all the time:
Front-end example False - On the mobile device the keyboard can be displayed or hidden by using the button:
Front-end example
- Buttons - There are 6 labels which you can edit to give names to buttons.
![]() |
More information about the WordPress Telegram Bot plugin Other WordPress products can be found at CreativeMinds WordPress Store |
![]() |
Let us know how we can Improve this Product Documentation Page To open a Support Ticket visit our support center |