Skip to content

Commit 2c44bdd

Browse files
committed
fix tests
1 parent d2f65c8 commit 2c44bdd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -842,8 +842,8 @@ pub struct Poll {
842842
pub is_anonymous: bool,
843843
#[serde(rename = "type")]
844844
pub type_field: PollType,
845-
pub allows_multiple_answers: bool,
846-
pub allows_revoting: bool,
845+
pub allows_multiple_answers: Option<bool>,
846+
pub allows_revoting: Option<bool>,
847847
pub correct_option_ids: Option<Vec<u8>>,
848848
pub explanation: Option<String>,
849849
pub explanation_entities: Option<Vec<MessageEntity>>,

0 commit comments

Comments
 (0)