We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2f65c8 commit 2c44bddCopy full SHA for 2c44bdd
1 file changed
src/types.rs
@@ -842,8 +842,8 @@ pub struct Poll {
842
pub is_anonymous: bool,
843
#[serde(rename = "type")]
844
pub type_field: PollType,
845
- pub allows_multiple_answers: bool,
846
- pub allows_revoting: bool,
+ pub allows_multiple_answers: Option<bool>,
+ pub allows_revoting: Option<bool>,
847
pub correct_option_ids: Option<Vec<u8>>,
848
pub explanation: Option<String>,
849
pub explanation_entities: Option<Vec<MessageEntity>>,
0 commit comments