mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-08 03:22:06 +01:00
Fix type of Poll::correct_option_id
field: i32
=> u8
This commit is contained in:
parent
d2b08afc8e
commit
6d4ad2932c
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ pub struct Poll {
|
|||
/// 0-based identifier of the correct answer option. Available only for
|
||||
/// polls in the quiz mode, which are closed, or was sent (not
|
||||
/// forwarded) by the bot or to the private chat with the bot.
|
||||
pub correct_option_id: Option<i32>,
|
||||
pub correct_option_id: Option<u8>,
|
||||
|
||||
/// Text that is shown when a user chooses an incorrect answer or taps on
|
||||
/// the lamp icon in a quiz-style poll, 0-200 characters.
|
||||
|
|
Loading…
Reference in a new issue