messages.SendVote#

class pyrogram.raw.functions.messages.SendVote#

Vote in a poll Starting from layer 159, the vote will be sent from the peer specified using messages.saveDefaultSendAs.

Usable by Users Bots
Details:
  • Layer: 224

  • ID: 10EA6184

Parameters:
  • peer (InputPeer) – The chat where the poll was sent

  • msg_id (int 32-bit) – The message ID of the poll

  • options (List of bytes) – The options that were chosen

Returns:

Updates