Discore
Show / Hide Table of Contents

Method ForGuildBanner

| Improve this Doc View Source

ForGuildBanner(Snowflake, string)

Creates a CDN URL builder for guild banners.

Declaration
public static DiscordCdnUrl ForGuildBanner(Snowflake guildId, string bannerHash)
Parameters
Type Name Description
Snowflake guildId

The ID of the guild.

string bannerHash

The hash of the banner image for the guild.

Returns
Type Description
DiscordCdnUrl
Exceptions
Type Condition
ArgumentNullException

Thrown if bannerHash is null.

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