Class: Discordrb::Components::MediaGallery
- Inherits:
-
Object
- Object
- Discordrb::Components::MediaGallery
- Defined in:
- lib/discordrb/data/component.rb
Overview
A grouping of media attachments in an organized gallery format.
Defined Under Namespace
Classes: Item
Instance Attribute Summary collapse
-
#id ⇒ Integer
readonly
The numeric identifier of the media gallery.
-
#items ⇒ Array<Item>
readonly
The media items contained within the media gallery.
Instance Attribute Details
#id ⇒ Integer (readonly)
Returns the numeric identifier of the media gallery.
319 320 321 |
# File 'lib/discordrb/data/component.rb', line 319 def id @id end |
#items ⇒ Array<Item> (readonly)
Returns the media items contained within the media gallery.
322 323 324 |
# File 'lib/discordrb/data/component.rb', line 322 def items @items end |