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

  • ID: BBC7515D

Parameters:
  • text (str) – Button text.

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