Method ForGuildIcon
| Improve this Doc View SourceForGuildIcon(Snowflake, string)
Creates a CDN URL builder for guild icons.
Declaration
public static DiscordCdnUrl ForGuildIcon(Snowflake guildId, string iconHash)
Parameters
| Type | Name | Description |
|---|---|---|
| Snowflake | guildId | The ID of the guild. |
| string | iconHash | The icon hash for the guild. |
Returns
| Type | Description |
|---|---|
| DiscordCdnUrl |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if |