pub struct InputReplyToMessage {
pub reply_to_msg_id: i32,
pub top_msg_id: Option<i32>,
pub reply_to_peer_id: Option<InputPeer>,
pub quote_text: Option<String>,
pub quote_entities: Option<Vec<MessageEntity>>,
pub quote_offset: Option<i32>,
pub monoforum_peer_id: Option<InputPeer>,
pub todo_item_id: Option<i32>,
}Expand description
Generated from:
inputReplyToMessage#869fbe10 flags:# reply_to_msg_id:int top_msg_id:flags.0?int reply_to_peer_id:flags.1?InputPeer quote_text:flags.2?string quote_entities:flags.3?Vector<MessageEntity> quote_offset:flags.4?int monoforum_peer_id:flags.5?InputPeer todo_item_id:flags.6?int = InputReplyToFields§
§reply_to_msg_id: i32§top_msg_id: Option<i32>§reply_to_peer_id: Option<InputPeer>§quote_text: Option<String>§quote_entities: Option<Vec<MessageEntity>>§quote_offset: Option<i32>§monoforum_peer_id: Option<InputPeer>§todo_item_id: Option<i32>Trait Implementations§
Source§impl Clone for InputReplyToMessage
impl Clone for InputReplyToMessage
Source§fn clone(&self) -> InputReplyToMessage
fn clone(&self) -> InputReplyToMessage
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 InputReplyToMessage
impl Debug for InputReplyToMessage
Source§impl Deserializable for InputReplyToMessage
impl Deserializable for InputReplyToMessage
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<InputReplyToMessage> for InputReplyTo
impl From<InputReplyToMessage> for InputReplyTo
Source§fn from(x: InputReplyToMessage) -> Self
fn from(x: InputReplyToMessage) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputReplyToMessage
impl Identifiable for InputReplyToMessage
Source§const CONSTRUCTOR_ID: u32 = 0x869fbe10
const CONSTRUCTOR_ID: u32 = 0x869fbe10
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputReplyToMessage
impl PartialEq for InputReplyToMessage
Source§impl Serializable for InputReplyToMessage
impl Serializable for InputReplyToMessage
Source§impl TryFrom<InputReplyTo> for InputReplyToMessage
impl TryFrom<InputReplyTo> for InputReplyToMessage
Source§type Error = InputReplyTo
type Error = InputReplyTo
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputReplyToMessage
Auto Trait Implementations§
impl Freeze for InputReplyToMessage
impl RefUnwindSafe for InputReplyToMessage
impl Send for InputReplyToMessage
impl Sync for InputReplyToMessage
impl Unpin for InputReplyToMessage
impl UnsafeUnpin for InputReplyToMessage
impl UnwindSafe for InputReplyToMessage
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