Layer 227
method Users
messages.getPollResults#73bb643b peer:InputPeer msg_id:int = Updates;

Parameters

Name Type Description
Peer InputPeer Peer where the poll was found
MsgId int Message ID of poll message
PollHash long Pass the poll. hash from the last received poll state; the server skips returning unchanged data

Returns

Updates

Gogram Example

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

Possible Errors

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