Class: Discordrb::Components::CheckboxGroup
- Inherits:
-
Object
- Object
- Discordrb::Components::CheckboxGroup
- Defined in:
- lib/discordrb/data/component.rb
Overview
A grouping of checkboxes in a modal.
Instance Attribute Summary collapse
-
#custom_id ⇒ String
readonly
The developer-defined identifier for the checkbox group.
-
#id ⇒ Integer
readonly
The numeric identifier of the checkbox group.
-
#values ⇒ Array<String>
readonly
The values of the selected checkbox buttons.
Instance Attribute Details
#custom_id ⇒ String (readonly)
Returns the developer-defined identifier for the checkbox group.
546 547 548 |
# File 'lib/discordrb/data/component.rb', line 546 def custom_id @custom_id end |
#id ⇒ Integer (readonly)
Returns the numeric identifier of the checkbox group.
540 541 542 |
# File 'lib/discordrb/data/component.rb', line 540 def id @id end |
#values ⇒ Array<String> (readonly)
Returns the values of the selected checkbox buttons.
543 544 545 |
# File 'lib/discordrb/data/component.rb', line 543 def values @values end |