messages.AddPollAnswer

class pyrogram.raw.functions.messages.AddPollAnswer[source]

Add an answer option to an open-answer poll »

Usable by Users Bots
Details:
  • Layer: 229

  • ID: 19BC4B6D

Parameters:
  • peer (InputPeer) – Peer where the poll is located

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

  • answer (PollAnswer) – The new answer option to add, use inputPollAnswer

Returns:

Updates