Method GetUser
| Improve this Doc View SourceGetUser(Snowflake)
Gets a user by their ID.
Declaration
public Task<DiscordUser> GetUser(Snowflake id)
Parameters
| Type | Name | Description |
|---|---|---|
| Snowflake | id |
Returns
| Type | Description |
|---|---|
| Task<DiscordUser> |
Exceptions
| Type | Condition |
|---|---|
| DiscordHttpApiException |