messages.GetUnreadPollVotes

class pyrogram.raw.functions.messages.GetUnreadPollVotes

Telegram API function.

Details:
  • Layer: 227

  • ID: 43286CF2

Parameters:
  • peer (InputPeer) – N/A

  • offset_id (int 32-bit) – N/A

  • add_offset (int 32-bit) – N/A

  • limit (int 32-bit) – N/A

  • max_id (int 32-bit) – N/A

  • min_id (int 32-bit) – N/A

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

Returns:

messages.Messages

TL Schema

messages.getUnreadPollVotes#43286cf2
flags:#
peer:InputPeer
top_msg_id:flags.0?int
offset_id:int
add_offset:int
limit:int
max_id:int
min_id:int

= messages.Messages

Parameter Tree

GetUnreadPollVotes
├── 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)
├── offset_id → int
├── add_offset → int
├── limit → int
├── max_id → int
└── min_id → int

Example

await app.invoke(
    GetUnreadPollVotes(
        peer=await app.resolve_peer(chat_id),
        top_msg_id=0,
        offset_id=0,
        add_offset=0,
        limit=0,
        max_id=0,
        min_id=0,
    )
)