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
Type
Gets the ComponentType of this Message Component.
public ComponentType Type { get; }
Property Value
Methods
ToBuilder()
Converts a MediaGalleryComponent to a MediaGalleryBuilder.
public MediaGalleryBuilder ToBuilder()