pub struct MessageReplyHeader {
pub reply_to_scheduled: bool,
pub forum_topic: bool,
pub quote: bool,
pub reply_to_msg_id: Option<i32>,
pub reply_to_peer_id: Option<Peer>,
pub reply_from: Option<MessageFwdHeader>,
pub reply_media: Option<MessageMedia>,
pub reply_to_top_id: Option<i32>,
pub quote_text: Option<String>,
pub quote_entities: Option<Vec<MessageEntity>>,
pub quote_offset: Option<i32>,
pub todo_item_id: Option<i32>,
}Expand description
Generated from the following TL definition:
messageReplyHeader#6917560b flags:# reply_to_scheduled:flags.2?true forum_topic:flags.3?true quote:flags.9?true reply_to_msg_id:flags.4?int reply_to_peer_id:flags.0?Peer reply_from:flags.5?MessageFwdHeader reply_media:flags.8?MessageMedia reply_to_top_id:flags.1?int quote_text:flags.6?string quote_entities:flags.7?Vector<MessageEntity> quote_offset:flags.10?int todo_item_id:flags.11?int = MessageReplyHeaderFields§
§reply_to_scheduled: bool§forum_topic: bool§quote: bool§reply_to_msg_id: Option<i32>§reply_to_peer_id: Option<Peer>§reply_from: Option<MessageFwdHeader>§reply_media: Option<MessageMedia>§reply_to_top_id: Option<i32>§quote_text: Option<String>§quote_entities: Option<Vec<MessageEntity>>§quote_offset: Option<i32>§todo_item_id: Option<i32>Trait Implementations§
Source§impl Clone for MessageReplyHeader
impl Clone for MessageReplyHeader
Source§fn clone(&self) -> MessageReplyHeader
fn clone(&self) -> MessageReplyHeader
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 MessageReplyHeader
impl Debug for MessageReplyHeader
Source§impl Deserializable for MessageReplyHeader
impl Deserializable for MessageReplyHeader
Source§impl From<MessageReplyHeader> for MessageReplyHeader
impl From<MessageReplyHeader> for MessageReplyHeader
Source§fn from(x: MessageReplyHeader) -> Self
fn from(x: MessageReplyHeader) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageReplyHeader
impl Identifiable for MessageReplyHeader
Source§const CONSTRUCTOR_ID: u32 = 1763137035
const CONSTRUCTOR_ID: u32 = 1763137035
The unique identifier for the type.
Source§impl PartialEq for MessageReplyHeader
impl PartialEq for MessageReplyHeader
Source§impl Serializable for MessageReplyHeader
impl Serializable for MessageReplyHeader
impl StructuralPartialEq for MessageReplyHeader
Auto Trait Implementations§
impl Freeze for MessageReplyHeader
impl RefUnwindSafe for MessageReplyHeader
impl Send for MessageReplyHeader
impl Sync for MessageReplyHeader
impl Unpin for MessageReplyHeader
impl UnsafeUnpin for MessageReplyHeader
impl UnwindSafe for MessageReplyHeader
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