Enum Direction
- Namespace
- Kook
- Assembly
- Kook.Net.Core.dll
Specifies the direction of where message(s) should be retrieved from.
public enum Direction
Fields
After = 3
The message(s) should be retrieved after a message.
Around = 2
The message(s) should be retrieved around a message.
Before = 1
The message(s) should be retrieved before a message.
Unspecified = 0
How the message(s) should be retrieved is unspecified.
Remarks
This enum is used to specify the direction for retrieving messages.
important
At the time of writing, Around is not yet implemented into GetMessagesAsync(int, CacheMode, RequestOptions?). Attempting to use the method with Around will throw a NotImplementedException.