pub struct MessageInteractionInfo {
pub view_count: i32,
pub forward_count: i32,
pub reply_info: Option<MessageReplyInfo>,
pub reactions: Option<MessageReactions>,
}
Expand description
Contains information about interactions with a message
Fields§
§view_count: i32
Number of times the message was viewed
forward_count: i32
Number of times the message was forwarded
reply_info: Option<MessageReplyInfo>
Information about direct or indirect replies to the message; may be null. Currently, available only in channels with a discussion supergroup and discussion supergroups for messages, which are not replies itself
reactions: Option<MessageReactions>
The list of reactions or tags added to the message; may be null
Trait Implementations§
Source§impl Clone for MessageInteractionInfo
impl Clone for MessageInteractionInfo
Source§fn clone(&self) -> MessageInteractionInfo
fn clone(&self) -> MessageInteractionInfo
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 MessageInteractionInfo
impl Debug for MessageInteractionInfo
Source§impl Default for MessageInteractionInfo
impl Default for MessageInteractionInfo
Source§fn default() -> MessageInteractionInfo
fn default() -> MessageInteractionInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageInteractionInfo
impl<'de> Deserialize<'de> for MessageInteractionInfo
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 MessageInteractionInfo
impl PartialEq for MessageInteractionInfo
Source§impl Serialize for MessageInteractionInfo
impl Serialize for MessageInteractionInfo
impl StructuralPartialEq for MessageInteractionInfo
Auto Trait Implementations§
impl Freeze for MessageInteractionInfo
impl RefUnwindSafe for MessageInteractionInfo
impl Send for MessageInteractionInfo
impl Sync for MessageInteractionInfo
impl Unpin for MessageInteractionInfo
impl UnwindSafe for MessageInteractionInfo
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