fix option fields

This commit is contained in:
nextel 2019-09-13 15:45:19 +03:00
parent b2fb7c2963
commit d8c51bdde8

View file

@ -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
}