messages.ReadPollVotes

class pyrogram.raw.functions.messages.ReadPollVotes

Telegram API function.

Details:
  • Layer: 227

  • ID: 1720B4D8

Parameters:
  • peer (InputPeer) – N/A

  • top_msg_id (int 32-bit, optional) – N/A

Returns:

messages.AffectedHistory

TL Schema

messages.readPollVotes#1720b4d8
flags:#
peer:InputPeer
top_msg_id:flags.0?int

= messages.AffectedHistory

Parameter Tree

ReadPollVotes
├── peer → InputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_id → long
│ ├── InputPeerUser
│ │ ├── user_id → long
│ │ └── access_hash → long
│ ├── InputPeerChannel
│ │ ├── channel_id → long
│ │ └── access_hash → long
│ │ ├── peer → InputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_id → int
│ │ └── user_id → long
│ ├── peer → InputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_id → int
│ └── channel_id → long
└── top_msg_id → int (optional)

Example

await app.invoke(
    ReadPollVotes(
        peer=await app.resolve_peer(chat_id),
        top_msg_id=0,
    )
)