Struct serenity::model::MessageId [] [src]

pub struct MessageId(pub u64);

An identifier for a Message

Methods

impl MessageId
[src]

Gets the list of Users who have reacted to a Message with a certain Emoji.

The default limit is 50 - specify otherwise to receive a different maximum number of users. The maximum that may be retrieve at a time is 100, if a greater number is provided then it is automatically reduced.

The optional after attribute is to retrieve the users after a certain user. This is useful for pagination.

Note: Requires the Read Message History permission.

impl MessageId
[src]

Retrieves the time that the Id was created at.

Trait Implementations

impl From<Message> for MessageId
[src]

Gets the Id of a Message.

impl Copy for MessageId
[src]

impl Clone for MessageId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MessageId
[src]

Formats the value using the given formatter.

impl Eq for MessageId
[src]

impl Hash for MessageId
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl PartialOrd for MessageId
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for MessageId
[src]

This method returns an Ordering between self and other. Read more

impl From<u64> for MessageId
[src]

Performs the conversion.

impl PartialEq for MessageId
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialEq<u64> for MessageId
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.