pub struct InputMessageReplyToMessage {
pub chat_id: i64,
pub message_id: i64,
pub quote: Option<InputTextQuote>,
}
Expand description
Describes a message to be replied
Fields§
§chat_id: i64
The identifier of the chat to which the message to be replied belongs; pass 0 if the message to be replied is in the same chat. Must always be 0 for replies in secret chats. A message can be replied in another chat or topic only if message.can_be_replied_in_another_chat
message_id: i64
The identifier of the message to be replied in the same or the specified chat
quote: Option<InputTextQuote>
Quote from the message to be replied; pass null if none. Must always be null for replies in secret chats
Trait Implementations§
Source§impl Clone for InputMessageReplyToMessage
impl Clone for InputMessageReplyToMessage
Source§fn clone(&self) -> InputMessageReplyToMessage
fn clone(&self) -> InputMessageReplyToMessage
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 InputMessageReplyToMessage
impl Debug for InputMessageReplyToMessage
Source§impl Default for InputMessageReplyToMessage
impl Default for InputMessageReplyToMessage
Source§fn default() -> InputMessageReplyToMessage
fn default() -> InputMessageReplyToMessage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputMessageReplyToMessage
impl<'de> Deserialize<'de> for InputMessageReplyToMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for InputMessageReplyToMessage
Auto Trait Implementations§
impl Freeze for InputMessageReplyToMessage
impl RefUnwindSafe for InputMessageReplyToMessage
impl Send for InputMessageReplyToMessage
impl Sync for InputMessageReplyToMessage
impl Unpin for InputMessageReplyToMessage
impl UnwindSafe for InputMessageReplyToMessage
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