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: 225

  • ID: 7A11D782

Parameters:
  • text (str) – Button text

  • style (KeyboardButtonStyle, optional) – N/A

  • quiz (bool, optional) – If set, only quiz polls can be sent

Functions:

This object can be returned by 1 function.

bots.GetRequestedWebViewButton

Telegram API function.