vaegram 0.2.0

Telegram MTProto client library for users and bots
Documentation
1
2
3
4
5
6
7
8
9
/// Whether a poll is a regular poll or a quiz.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[non_exhaustive]
pub enum PollType {
    /// A poll with no correct answer.
    Regular,
    /// A poll with a correct answer.
    Quiz,
}