Method GetTargetUsersAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetTargetUsersAsync()
Gets the target users allowed to accept an invite.
public Task<IReadOnlyList<ulong>> GetTargetUsersAsync()
Returns
- Task<IReadOnlyList<ulong>>
An allowlist of user ids.
Exceptions
- NotFoundException
Thrown when the invite does not exist.
- BadRequestException
Thrown when an invalid parameter was provided.
- ServerErrorException
Thrown when Discord is unable to process the request.