Layer 227
method Users
messages.readPollVotes#1720b4d8 flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory;

Parameters

Name Type Description
Peer InputPeer The chat to mark poll votes as read in
TopMsgId flags .0? int If the chat is a forum, restrict to this topic

Gogram Example

// MessagesReadPollVotes - positional arguments
result, err := client.MessagesReadPollVotes(&tg.InputPeerUser{UserID: int64(777000)}, nil)
if err != nil {
    // handle error
}
// result is *tg.MessagesAffectedHistory

Possible Errors

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