KeyboardButton¶
- class pyrogram.raw.types.KeyboardButton[source]¶
Bot keyboard button
Constructor of
KeyboardButton.- Details:
Layer:
229ID:
2F67A72F
- Parameters:
text (
str) – Button texttype (
ButtonType) – N/Astyle (
KeyboardButtonStyle, optional) – Button style, see here » for more info on button styles.
- Functions:
This object can be returned by 1 function.
Fetch the peer request button a bot prepared for a Mini App with bots.requestWebViewButton, invoked when the Mini App emits a web_app_request_chat event, see here » for more info.