stats.GetPollStats
- class pyrogram.raw.functions.stats.GetPollStats
Telegram API function.
- Details:
Layer:
225ID:
C27DFA68
- Parameters:
peer (
InputPeer) – N/Amsg_id (
int32-bit) – N/Adark (
bool, optional) – N/A
- Returns:
TL Schema
stats.getPollStats#c27dfa68
flags:#
dark:flags.0?true
peer:InputPeer
msg_id:int
= stats.PollStats
Parameter Tree
GetPollStats
├── dark →
true (optional)├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── 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└── msg_id →
intExample
await app.invoke(
GetPollStats(
dark=None,
peer=await app.resolve_peer(chat_id),
msg_id=0,
)
)