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)
145 146 147 |
# File 'lib/discordrb/data/component.rb', line 145 def custom_id @custom_id end |
#max_values ⇒ Integer? (readonly)
148 149 150 |
# File 'lib/discordrb/data/component.rb', line 148 def max_values @max_values end |
#min_values ⇒ Integer? (readonly)
151 152 153 |
# File 'lib/discordrb/data/component.rb', line 151 def min_values @min_values end |
#options ⇒ Array<Option> (readonly)
157 158 159 |
# File 'lib/discordrb/data/component.rb', line 157 def @options end |
#placeholder ⇒ String? (readonly)
154 155 156 |
# File 'lib/discordrb/data/component.rb', line 154 def placeholder @placeholder end |