pub struct IncomingMessage {
pub chat_id: i64,
pub user_id: Option<i64>,
pub first_name: Option<String>,
pub is_bot: bool,
pub message_id: i32,
pub reply_to_message_id: Option<i32>,
pub text: Option<String>,
}Fields§
§chat_id: i64§user_id: Option<i64>§first_name: Option<String>Telegram’s first name, used only as the initial EME display name.
is_bot: bool§message_id: i32§reply_to_message_id: Option<i32>Message ID being replied to, if this is a Telegram reply.
text: Option<String>Trait Implementations§
Source§impl Clone for IncomingMessage
impl Clone for IncomingMessage
Auto Trait Implementations§
impl Freeze for IncomingMessage
impl RefUnwindSafe for IncomingMessage
impl Send for IncomingMessage
impl Sync for IncomingMessage
impl Unpin for IncomingMessage
impl UnsafeUnpin for IncomingMessage
impl UnwindSafe for IncomingMessage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more