mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Fix typo: use i64 instead of i32 in requests
This commit is contained in:
parent
b71d75ad94
commit
9b78fb5b9a
2 changed files with 3 additions and 3 deletions
|
@ -18,9 +18,9 @@ pub trait Request<R: serde::de::DeserializeOwned> {
|
|||
#[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;
|
||||
|
|
|
@ -17,7 +17,7 @@ pub struct SendMessage {
|
|||
#[builder(default)]
|
||||
disable_notification: Option<bool>,
|
||||
#[builder(default)]
|
||||
reply_to_message_id: Option<i32>,
|
||||
reply_to_message_id: Option<i64>,
|
||||
#[builder(default)]
|
||||
reply_markup: Option<()>, // TODO: ReplyMarkup enum
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue