KeyboardButtonRequestPoll#

class pyrogram.raw.types.KeyboardButtonRequestPoll[source]#

A button that allows the user to create and send a poll when pressed; available only in private

Constructor of KeyboardButton.

Details:
  • Layer: 224

  • ID: 7A11D782

Parameters:
  • text (str) – Button text

  • style (KeyboardButtonStyle, optional)

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

Functions:

This object can be returned by 1 function.