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.
511 512 513 |
# File 'lib/discordrb/data/component.rb', line 511 def component @component end |
#id ⇒ Integer (readonly)
Returns the numeric identifier of the label.
508 509 510 |
# File 'lib/discordrb/data/component.rb', line 508 def id @id end |