Method ForRoleIcon
| Improve this Doc View SourceForRoleIcon(Snowflake, string)
Creates a CDN URL builder for a role icon.
Declaration
public static DiscordCdnUrl ForRoleIcon(Snowflake roleId, string iconHash)
Parameters
| Type | Name | Description |
|---|---|---|
| Snowflake | roleId | The ID of the role. |
| string | iconHash | The hash of the role's icon. |
Returns
| Type | Description |
|---|---|
| DiscordCdnUrl |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if |