Method ForUserAvatar
| Improve this Doc View SourceForUserAvatar(Snowflake, string)
Creates a CDN URL builder for a user avatar.
Declaration
public static DiscordCdnUrl ForUserAvatar(Snowflake userId, string avatarHash)
Parameters
| Type | Name | Description |
|---|---|---|
| Snowflake | userId | The ID of the user. |
| string | avatarHash | The avatar hash for the user. |
Returns
| Type | Description |
|---|---|
| DiscordCdnUrl |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if |