Table of Contents

Struct MediaGalleryItemProperties

Namespace
Discord
Assembly
Discord.Net.Core.dll
public struct MediaGalleryItemProperties
Inherited Members

Constructors

MediaGalleryItemProperties()

Initializes a new instance of the MediaGalleryItemProperties.

public MediaGalleryItemProperties()

MediaGalleryItemProperties(UnfurledMediaItemProperties, string, bool)

Initializes a new instance of the MediaGalleryItemProperties.

public MediaGalleryItemProperties(UnfurledMediaItemProperties media, string description = null, bool isSpoiler = false)

Parameters

media UnfurledMediaItemProperties
description string
isSpoiler bool

Fields

MaxDescriptionLength

The maximum length of the description.

public const int MaxDescriptionLength = 256

Field Value

int

Properties

Description

Gets or sets the description of the media item.

public string Description { readonly get; set; }

Property Value

string

IsSpoiler

Gets or sets whether the media item is a spoiler.

public bool IsSpoiler { readonly get; set; }

Property Value

bool

Media

Gets or sets the media item to display.

public UnfurledMediaItemProperties Media { readonly get; set; }

Property Value

UnfurledMediaItemProperties