diff --git a/src/core/requests/send_poll.rs b/src/core/requests/send_poll.rs index 9a7f13e2..ba11325b 100644 --- a/src/core/requests/send_poll.rs +++ b/src/core/requests/send_poll.rs @@ -92,7 +92,7 @@ impl<'a> SendPoll<'a> { where T: Into>, { - 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>, { - self.reply_to_message_id = reply_to_message_id.into(); + self.reply_to_message_id = Some(reply_to_message_id.into()); self }