Table of Contents

Constructor DiscordMediaGalleryItem

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

DiscordMediaGalleryItem(string, string?, bool?)

Constructs a new DiscordMediaGalleryItem.

public DiscordMediaGalleryItem(string url, string? description = null, bool? spoiler = null)

Parameters

url string

The url.

description string

The description.

spoiler bool?

Whether this item should be marked as spoiler.