Table of Contents

Class MediaGalleryComponent

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents a media gallery component.

public class MediaGalleryComponent : IMessageComponent
Inheritance
MediaGalleryComponent
Implements
Inherited Members

Properties

Id

public int? Id { get; }

Property Value

int?

Items

Gets the items in this media gallery.

public IReadOnlyCollection<MediaGalleryItem> Items { get; }

Property Value

IReadOnlyCollection<MediaGalleryItem>

Type

Gets the ComponentType of this Message Component.

public ComponentType Type { get; }

Property Value

ComponentType

Methods

ToBuilder()

public MediaGalleryBuilder ToBuilder()

Returns

MediaGalleryBuilder