pub struct UpdateShortChatMessage {Show 16 fields
pub out: bool,
pub mentioned: bool,
pub media_unread: bool,
pub silent: bool,
pub id: i32,
pub from_id: i64,
pub chat_id: i64,
pub message: String,
pub pts: i32,
pub pts_count: i32,
pub date: i32,
pub fwd_from: Option<MessageFwdHeader>,
pub via_bot_id: Option<i64>,
pub reply_to: Option<MessageReplyHeader>,
pub entities: Option<Vec<MessageEntity>>,
pub ttl_period: Option<i32>,
}Expand description
Read updateShortChatMessage docs.
Generated from the following TL definition:
updateShortChatMessage#4d6deea5 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:long chat_id:long message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = UpdatesFields§
§out: bool§mentioned: bool§media_unread: bool§silent: bool§id: i32§from_id: i64§chat_id: i64§message: String§pts: i32§pts_count: i32§date: i32§fwd_from: Option<MessageFwdHeader>§via_bot_id: Option<i64>§reply_to: Option<MessageReplyHeader>§entities: Option<Vec<MessageEntity>>§ttl_period: Option<i32>Trait Implementations§
Source§impl Clone for UpdateShortChatMessage
impl Clone for UpdateShortChatMessage
Source§fn clone(&self) -> UpdateShortChatMessage
fn clone(&self) -> UpdateShortChatMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateShortChatMessage
impl Debug for UpdateShortChatMessage
Source§impl From<UpdateShortChatMessage> for Updates
impl From<UpdateShortChatMessage> for Updates
Source§fn from(x: UpdateShortChatMessage) -> Self
fn from(x: UpdateShortChatMessage) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateShortChatMessage
impl Identifiable for UpdateShortChatMessage
Source§const CONSTRUCTOR_ID: u32 = 1299050149
const CONSTRUCTOR_ID: u32 = 1299050149
The unique identifier for the type.
Source§impl PartialEq for UpdateShortChatMessage
impl PartialEq for UpdateShortChatMessage
Source§impl TryFrom<Updates> for UpdateShortChatMessage
impl TryFrom<Updates> for UpdateShortChatMessage
impl StructuralPartialEq for UpdateShortChatMessage
Auto Trait Implementations§
impl Freeze for UpdateShortChatMessage
impl RefUnwindSafe for UpdateShortChatMessage
impl Send for UpdateShortChatMessage
impl Sync for UpdateShortChatMessage
impl Unpin for UpdateShortChatMessage
impl UnsafeUnpin for UpdateShortChatMessage
impl UnwindSafe for UpdateShortChatMessage
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