Class: Discordrb::Components::Label
- Inherits:
-
Object
- Object
- Discordrb::Components::Label
- Defined in:
- lib/discordrb/data/component.rb
Overview
A parent component for interactive modal components.
Instance Attribute Summary collapse
-
#component ⇒ Component
readonly
The interactive component of the label.
-
#id ⇒ Integer
readonly
The numeric identifier of the label.
Instance Attribute Details
#component ⇒ Component (readonly)
Returns the interactive component of the label.
486 487 488 |
# File 'lib/discordrb/data/component.rb', line 486 def component @component end |
#id ⇒ Integer (readonly)
Returns the numeric identifier of the label.
483 484 485 |
# File 'lib/discordrb/data/component.rb', line 483 def id @id end |