Method JoinAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
JoinAsync(CancellationToken)
Joins a thread.
public Task JoinAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to cancel the request.
Returns
Exceptions
- UnauthorizedException
Thrown when the client has no access to this thread.
- 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.