messages.readPollVotes

Mark all unread poll votes » in a chat as read

messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory;
---functions---
messages.readPollVotes#1720b4d8 flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
peer InputPeer The chat to mark poll votes as read in
top_msg_id flags.0?int If the chat is a forum, restrict to this topic

Result

messages.AffectedHistory

Only users can use this method

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

Polls and quizzes

Telegram allows sending polls and quizzes, that can be voted on by thousands, if not millions of users in chats and channels.