Discore
Show / Hide Table of Contents

Method ForTeamIcon

| Improve this Doc View Source

ForTeamIcon(Snowflake, string)

Creates a CDN URL builder for a team icon.

Declaration
public static DiscordCdnUrl ForTeamIcon(Snowflake teamId, string iconHash)
Parameters
Type Name Description
Snowflake teamId

The ID of the team.

string iconHash

The hash of the team's icon.

Returns
Type Description
DiscordCdnUrl
Exceptions
Type Condition
ArgumentNullException

Thrown if iconHash is null.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX