diff --git a/src/core/requests/mod.rs b/src/core/requests/mod.rs index 5da1a761..665a8d36 100644 --- a/src/core/requests/mod.rs +++ b/src/core/requests/mod.rs @@ -18,9 +18,9 @@ pub trait Request { #[derive(Debug, Serialize, From, PartialEq, Eq)] pub enum ChatId { /// chat identifier - Id(i32), // 32? + Id(i64), /// _channel_ username (in the format @channelusername) - ChannelUsername(String) + ChannelUsername(String), } pub mod get_me; diff --git a/src/core/requests/send_message.rs b/src/core/requests/send_message.rs index 12f6f16d..4c48dbb2 100644 --- a/src/core/requests/send_message.rs +++ b/src/core/requests/send_message.rs @@ -17,7 +17,7 @@ pub struct SendMessage { #[builder(default)] disable_notification: Option, #[builder(default)] - reply_to_message_id: Option, + reply_to_message_id: Option, #[builder(default)] reply_markup: Option<()>, // TODO: ReplyMarkup enum }