Table of Contents

Class GuildStickerProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class GuildStickerProperties : IHttpSerializable
Inheritance
GuildStickerProperties
Implements
Inherited Members

Constructors

GuildStickerProperties(AttachmentProperties, StickerFormat, IEnumerable<string>)

public GuildStickerProperties(AttachmentProperties attachment, StickerFormat format, IEnumerable<string> tags)

Parameters

attachment AttachmentProperties

Sticker attachment.

format StickerFormat

Sticker format.

tags IEnumerable<string>

Sticker autocomplete/suggestion tags (max 200 characters long when comma joined).

Properties

Attachment

Sticker attachment.

public AttachmentProperties Attachment { get; set; }

Property Value

AttachmentProperties

Format

Sticker format.

public StickerFormat Format { get; set; }

Property Value

StickerFormat

Tags

Sticker autocomplete/suggestion tags (max 200 characters long when comma joined).

public IEnumerable<string> Tags { get; set; }

Property Value

IEnumerable<string>

Methods

AddTags(IEnumerable<string>)

Sticker autocomplete/suggestion tags (max 200 characters long when comma joined).

public GuildStickerProperties AddTags(IEnumerable<string> tags)

Parameters

tags IEnumerable<string>

Returns

GuildStickerProperties

AddTags(params string[])

Sticker autocomplete/suggestion tags (max 200 characters long when comma joined).

public GuildStickerProperties AddTags(params string[] tags)

Parameters

tags string[]

Returns

GuildStickerProperties

Serialize()

Serializes the object or its part into HttpContent.

public HttpContent Serialize()

Returns

HttpContent

WithAttachment(AttachmentProperties)

Sticker attachment.

public GuildStickerProperties WithAttachment(AttachmentProperties attachment)

Parameters

attachment AttachmentProperties

Returns

GuildStickerProperties

WithFormat(StickerFormat)

Sticker format.

public GuildStickerProperties WithFormat(StickerFormat format)

Parameters

format StickerFormat

Returns

GuildStickerProperties

WithTags(IEnumerable<string>)

Sticker autocomplete/suggestion tags (max 200 characters long when comma joined).

public GuildStickerProperties WithTags(IEnumerable<string> tags)

Parameters

tags IEnumerable<string>

Returns

GuildStickerProperties