InlineKeyboardButtonBuy
- class pyrogram.types.InlineKeyboardButtonBuy
One button of the inline keyboard. For simple invoice buttons.
- Parameters:
text (
str) – Text of the button. If none of the optional fields are used, it will be sent as a message when the button is pressed.style (
KeyboardButtonStyle|ButtonStyle, optional) – Button style.icon (
int, optional) – Custom icon for the button.