messages.GetPollVotes¶
- class pyrogram.raw.functions.messages.GetPollVotes[source]¶
Get poll results for non-anonymous polls
Usable by Users Bots- Details:
Layer:
229ID:
B86E380E
- Parameters:
peer (
InputPeer) – Chat where the poll was sentid (
int32-bit) – Message IDlimit (
int32-bit) – Number of results to returnoption (
bytes, optional) – Get only results for the specified polloptionoffset (
str, optional) – Offset for results, taken from thenext_offsetfield of messages.votesList, initially an empty string. Note: if no more results are available, the method call will return an emptynext_offset; thus, avoid providing thenext_offsetreturned in messages.votesList if it is empty, to avoid an infinite loop.
- Returns: