Struct telbot_types::message::PollAnswer[][src]

pub struct PollAnswer {
    pub poll_id: String,
    pub user: User,
    pub option_ids: Vec<u32>,
}
Expand description

This object represents an answer of a user in a non-anonymous poll.

Fields

poll_id: String

Unique poll identifier

user: User

The user, who changed the answer to the poll

option_ids: Vec<u32>

0-based identifiers of answer options, chosen by the user. May be empty if the user retracted their vote.

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.