Class: Discorb::MessageComponentInteraction Abstract
- Inherits:
-
Interaction
- Object
- DiscordModel
- Interaction
- Discorb::MessageComponentInteraction
- Defined in:
- lib/discorb/interaction/components.rb
Overview
This class is abstract.
Represents a message component interaction.
Direct Known Subclasses
Defined Under Namespace
Classes: Button, SelectMenu
Instance Attribute Summary collapse
-
#custom_id -> String
readonly
The content of the response.
-
#message -> Discorb::Message
readonly
The target message.
Attributes inherited from Interaction
#application_id, #guild_locale, #id, #locale, #token, #type, #user, #version
Method Summary
Methods included from Interaction::ModalResponder
Methods included from Interaction::UpdateResponder
Methods included from Interaction::SourceResponder
Methods inherited from Interaction
Methods inherited from DiscordModel
Instance Attribute Details
#custom_id -> String (readonly)
Returns The content of the response.
14 15 16 |
# File 'lib/discorb/interaction/components.rb', line 14 def custom_id @custom_id end |
#message -> Discorb::Message (readonly)
Returns The target message.
16 17 18 |
# File 'lib/discorb/interaction/components.rb', line 16 def @message end |