pub struct MessageReplyInfo {
pub reply_count: i32,
pub recent_replier_ids: Vec<MessageSender>,
pub last_read_inbox_message_id: i64,
pub last_read_outbox_message_id: i64,
pub last_message_id: i64,
}
Expand description
Contains information about replies to a message
Fields§
§reply_count: i32
Number of times the message was directly or indirectly replied
recent_replier_ids: Vec<MessageSender>
Identifiers of at most 3 recent repliers to the message; available in channels with a discussion supergroup. The users and chats are expected to be inaccessible: only their photo and name will be available
last_read_inbox_message_id: i64
Identifier of the last read incoming reply to the message
last_read_outbox_message_id: i64
Identifier of the last read outgoing reply to the message
last_message_id: i64
Identifier of the last reply to the message
Trait Implementations§
Source§impl Clone for MessageReplyInfo
impl Clone for MessageReplyInfo
Source§fn clone(&self) -> MessageReplyInfo
fn clone(&self) -> MessageReplyInfo
Returns a copy 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 MessageReplyInfo
impl Debug for MessageReplyInfo
Source§impl Default for MessageReplyInfo
impl Default for MessageReplyInfo
Source§fn default() -> MessageReplyInfo
fn default() -> MessageReplyInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageReplyInfo
impl<'de> Deserialize<'de> for MessageReplyInfo
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 MessageReplyInfo
impl PartialEq for MessageReplyInfo
Source§impl Serialize for MessageReplyInfo
impl Serialize for MessageReplyInfo
impl StructuralPartialEq for MessageReplyInfo
Auto Trait Implementations§
impl Freeze for MessageReplyInfo
impl RefUnwindSafe for MessageReplyInfo
impl Send for MessageReplyInfo
impl Sync for MessageReplyInfo
impl Unpin for MessageReplyInfo
impl UnwindSafe for MessageReplyInfo
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