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

Get the N most recent messages.

Get the first N messages before the specified message.

Get the first N messages after the specified message.

Get N/2 messages before, N/2 messages after, and the specified message.