Struct serenity::model::channel::MessageReaction [] [src]

pub struct MessageReaction {
    pub count: u64,
    pub me: bool,
    pub reaction_type: ReactionType,
}

A representation of a reaction to a message.

Multiple of the same reaction type are sent into one MessageReaction, with an associated count.

Fields

The amount of the type of reaction that have been sent for the associated message.

Indicator of whether the current user has sent the type of reaction.

The type of reaction.

Trait Implementations

impl Clone for MessageReaction
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for MessageReaction
[src]

[src]

Formats the value using the given formatter.