pub struct InputMessageReplyToExternalMessage {
pub chat_id: i64,
pub message_id: i64,
pub quote: Option<InputTextQuote>,
pub checklist_task_id: i32,
}Expand description
Describes a message to be replied that is from a different chat or a forum topic; not supported in secret chats
Fields§
§chat_id: i64The identifier of the chat to which the message to be replied belongs
message_id: i64The identifier of the message to be replied in the specified chat. A message can be replied in another chat or forum topic only if messageProperties.can_be_replied_in_another_chat
quote: Option<InputTextQuote>Quote from the message to be replied; pass null if none
checklist_task_id: i32Identifier of the checklist task in the message to be replied; pass 0 to reply to the whole message
Trait Implementations§
Source§impl Clone for InputMessageReplyToExternalMessage
impl Clone for InputMessageReplyToExternalMessage
Source§fn clone(&self) -> InputMessageReplyToExternalMessage
fn clone(&self) -> InputMessageReplyToExternalMessage
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 Default for InputMessageReplyToExternalMessage
impl Default for InputMessageReplyToExternalMessage
Source§fn default() -> InputMessageReplyToExternalMessage
fn default() -> InputMessageReplyToExternalMessage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputMessageReplyToExternalMessage
impl<'de> Deserialize<'de> for InputMessageReplyToExternalMessage
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
Source§impl PartialEq for InputMessageReplyToExternalMessage
impl PartialEq for InputMessageReplyToExternalMessage
Source§fn eq(&self, other: &InputMessageReplyToExternalMessage) -> bool
fn eq(&self, other: &InputMessageReplyToExternalMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InputMessageReplyToExternalMessage
Auto Trait Implementations§
impl Freeze for InputMessageReplyToExternalMessage
impl RefUnwindSafe for InputMessageReplyToExternalMessage
impl Send for InputMessageReplyToExternalMessage
impl Sync for InputMessageReplyToExternalMessage
impl Unpin for InputMessageReplyToExternalMessage
impl UnsafeUnpin for InputMessageReplyToExternalMessage
impl UnwindSafe for InputMessageReplyToExternalMessage
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