Table of Contents

Class GuildStickerOptions

Namespace
NetCord.Rest
Assembly
NetCord.dll

Represents a modification to perform on a GuildSticker.

public class GuildStickerOptions
Inheritance
GuildStickerOptions
Inherited Members

Properties

Description

The sticker's description.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("description")]
public string? Description { get; set; }

Property Value

string

Name

The sticker's name.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string

Tags

A comma separated-list of the sticker's autocomplete/suggestion tags.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("tags")]
public string? Tags { get; set; }

Property Value

string

Remarks

The string's character count cannot exceed 200.

Methods

WithDescription(string?)

The sticker's description.

public GuildStickerOptions WithDescription(string? description)

Parameters

description string

Returns

GuildStickerOptions

WithName(string?)

The sticker's name.

public GuildStickerOptions WithName(string? name)

Parameters

name string

Returns

GuildStickerOptions

WithTags(string?)

A comma separated-list of the sticker's autocomplete/suggestion tags.

public GuildStickerOptions WithTags(string? tags)

Parameters

tags string

Returns

GuildStickerOptions

Remarks

The string's character count cannot exceed 200.