Method GetPinnedMessagesAsync
- Namespace
- Dis
Cat .EntitiesSharp
- Assembly
- DisCatSharp.dll
GetPinnedMessagesAsync()
Returns all pinned messages.
Returns
Exceptions
- Unauthorized
Exception Thrown when the client does not have the Access
Channels permission.- Not
Found Exception Thrown when the channel does not exist.
- Bad
Request Exception Thrown when an invalid parameter was provided.
- Server
Error Exception Thrown when Discord is unable to process the request.