Table of Contents

Class GuildSticker

Namespace
NetCord
Assembly
NetCord.dll
public class GuildSticker : Sticker, IEntity, ISpanFormattable, IFormattable, IEquatable<Entity>, IJsonModel<JsonSticker>
Inheritance
GuildSticker
Implements
Inherited Members

Constructors

GuildSticker(JsonSticker, RestClient)

public GuildSticker(JsonSticker jsonModel, RestClient client)

Parameters

jsonModel JsonSticker
client RestClient

Properties

Available

public bool? Available { get; }

Property Value

bool?

Creator

public User? Creator { get; }

Property Value

User

GuildId

public ulong GuildId { get; }

Property Value

ulong

Methods

DeleteAsync(RestRequestProperties?, CancellationToken)

public Task DeleteAsync(RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task

GetAsync(RestRequestProperties?, CancellationToken)

public Task<GuildSticker> GetAsync(RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<GuildSticker>

ModifyAsync(Action<GuildStickerOptions>, RestRequestProperties?, CancellationToken)

public Task<GuildSticker> ModifyAsync(Action<GuildStickerOptions> action, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

action Action<GuildStickerOptions>
properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<GuildSticker>