KeyboardButtonRequestPoll¶
- class pyrogram.raw.types.KeyboardButtonRequestPoll¶
A button that allows the user to create and send a poll when pressed; available only in private
Constructor of
KeyboardButton.- Details:
Layer:
225ID:
7A11D782
- Parameters:
text (
str) – Button textstyle (
KeyboardButtonStyle, optional) – N/Aquiz (
bool, optional) – If set, only quiz polls can be sent
- Functions:
This object can be returned by 1 function.
Telegram API function.