Discore
Show / Hide Table of Contents

Method ForAchievementIcon

| Improve this Doc View Source

ForAchievementIcon(Snowflake, long, string)

Creates a CDN URL builder for an achievement icon.

Declaration
public static DiscordCdnUrl ForAchievementIcon(Snowflake applicationId, long achievementId, string iconHash)
Parameters
Type Name Description
Snowflake applicationId

The ID of the application.

long achievementId

The ID of the achievement.

string iconHash

The hash for the 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