Class: Discordrb::Components::SelectMenu
- Inherits:
-
Object
- Object
- Discordrb::Components::SelectMenu
- Defined in:
- lib/discordrb/data/component.rb
Overview
An interactable select menu component.
Defined Under Namespace
Classes: Option
Instance Attribute Summary collapse
- #custom_id ⇒ String readonly
- #max_values ⇒ Integer? readonly
- #min_values ⇒ Integer? readonly
- #options ⇒ Array<Option> readonly
- #placeholder ⇒ String? readonly
Instance Attribute Details
#custom_id ⇒ String (readonly)
137 138 139 |
# File 'lib/discordrb/data/component.rb', line 137 def custom_id @custom_id end |
#max_values ⇒ Integer? (readonly)
140 141 142 |
# File 'lib/discordrb/data/component.rb', line 140 def max_values @max_values end |
#min_values ⇒ Integer? (readonly)
143 144 145 |
# File 'lib/discordrb/data/component.rb', line 143 def min_values @min_values end |
#options ⇒ Array<Option> (readonly)
149 150 151 |
# File 'lib/discordrb/data/component.rb', line 149 def @options end |
#placeholder ⇒ String? (readonly)
146 147 148 |
# File 'lib/discordrb/data/component.rb', line 146 def placeholder @placeholder end |