Method GetActiveThreadsAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetActiveThreadsAsync()
Gets active threads. Can contain more threads. If the result's value 'HasMore' is true, you need to recall this function to get older threads.
public Task<DiscordThreadResult> GetActiveThreadsAsync()
Returns
Exceptions
- NotFoundException
Thrown when the thread does not exist.
- BadRequestException
Thrown when an invalid parameter was provided.
- ServerErrorException
Thrown when Discord is unable to process the request.