mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
fix option fields
This commit is contained in:
parent
b2fb7c2963
commit
d8c51bdde8
1 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ impl<'a> SendPoll<'a> {
|
|||
where
|
||||
T: Into<Vec<bool>>,
|
||||
{
|
||||
self.disable_notification = disable_notification.into();
|
||||
self.disable_notification = Some(disable_notification.into());
|
||||
self
|
||||
}
|
||||
|
||||
|
@ -100,7 +100,7 @@ impl<'a> SendPoll<'a> {
|
|||
where
|
||||
T: Into<Vec<i32>>,
|
||||
{
|
||||
self.reply_to_message_id = reply_to_message_id.into();
|
||||
self.reply_to_message_id = Some(reply_to_message_id.into());
|
||||
self
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue