mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-23 07:09:34 +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)]
|
#[derive(Debug, Serialize, From, PartialEq, Eq)]
|
||||||
pub enum ChatId {
|
pub enum ChatId {
|
||||||
/// chat identifier
|
/// chat identifier
|
||||||
Id(i32), // 32?
|
Id(i64),
|
||||||
/// _channel_ username (in the format @channelusername)
|
/// _channel_ username (in the format @channelusername)
|
||||||
ChannelUsername(String)
|
ChannelUsername(String),
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod get_me;
|
pub mod get_me;
|
||||||
|
|
|
@ -17,7 +17,7 @@ pub struct SendMessage {
|
||||||
#[builder(default)]
|
#[builder(default)]
|
||||||
disable_notification: Option<bool>,
|
disable_notification: Option<bool>,
|
||||||
#[builder(default)]
|
#[builder(default)]
|
||||||
reply_to_message_id: Option<i32>,
|
reply_to_message_id: Option<i64>,
|
||||||
#[builder(default)]
|
#[builder(default)]
|
||||||
reply_markup: Option<()>, // TODO: ReplyMarkup enum
|
reply_markup: Option<()>, // TODO: ReplyMarkup enum
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue