Enum discord::GetMessages
[−]
[src]
pub enum GetMessages { MostRecent, Before(MessageId), After(MessageId), Around(MessageId), }
Argument to get_messages
to specify the desired message retrieval.
Variants
MostRecent | Get the N most recent messages. | |
Before | Get the first N messages before the specified message. | |
After | Get the first N messages after the specified message. | |
Around | Get N/2 messages before, N/2 messages after, and the specified message. |