Enum Direction
Specifies the direction of where entities (e.g. bans/messages) should be retrieved from.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public enum Direction : int
Remarks
This enum is used to specify the direction for retrieving entities.
important
At the time of writing, Around is not yet implemented into
GetMessagesAsync(Int32, CacheMode, RequestOptions).
Attempting to use the method with Around will throw
a
Fields
Name | Description |
---|---|
After | The entity(s) should be retrieved after an entity. |
Around | The entity(s) should be retrieved around an entity. |
Before | The entity(s) should be retrieved before an entity. |