Table of Contents

Constructor DiscordMediaGalleryComponent

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

DiscordMediaGalleryComponent(DiscordMediaGalleryComponent)

Constructs a new media gallery component based on another media gallery component.

public DiscordMediaGalleryComponent(DiscordMediaGalleryComponent other)

Parameters

other DiscordMediaGalleryComponent

The media gallery component to copy.

DiscordMediaGalleryComponent(IEnumerable<DiscordMediaGalleryItem>)

Constructs a new media gallery component field with the specified options.

public DiscordMediaGalleryComponent(IEnumerable<DiscordMediaGalleryItem> items)

Parameters

items IEnumerable<DiscordMediaGalleryItem>

The media gallery items.