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 type of KeyboardButton.

Details
  • Layer: 126

  • ID: 0xbbc7515d

Parameters
  • text (str) – Button text.

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