Interface UpdatePollAnswer

A user changed the answer to a poll; for bots only. Subtype of Update.

interface UpdatePollAnswer {
    @type: "updatePollAnswer";
    option_ids: number[];
    poll_id: string;
    voter_id: MessageSender;
}

Properties

@type: "updatePollAnswer"
option_ids: number[]

0-based identifiers of answer options, chosen by the user.

poll_id: string

Unique poll identifier.

voter_id: MessageSender

Identifier of the message sender that changed the answer to the poll.