MessageMediaPoll

class pyrogram.raw.types.MessageMediaPoll

Poll.

Constructor type of MessageMedia.

Details
  • Layer: 126

  • ID: 0x4bd6e798

Parameters
  • poll (Poll) – The poll.

  • results (PollResults) – The results of the poll.

Methods

This object can be returned by 3 methods:

messages.GetWebPagePreview

Get preview of webpage.

messages.UploadMedia

Upload a file and associate it to a chat (without actually sending it to the chat).

messages.UploadImportedMedia

Telegram API method.