Class: Discorb::MessageComponentInteraction::Button
- Inherits:
-
Discorb::MessageComponentInteraction
- Object
- DiscordModel
- Interaction
- Discorb::MessageComponentInteraction
- Discorb::MessageComponentInteraction::Button
- Defined in:
- lib/discorb/interaction/components.rb
Overview
Represents a button interaction.
Instance Attribute Summary collapse
-
#custom_id -> String
readonly
The custom id of the button.
Attributes inherited from Discorb::MessageComponentInteraction
Attributes inherited from Interaction
#app_permissions, #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
#channel, #delete_original_message, #edit_original_message, #guild, #inspect, #post
Methods inherited from DiscordModel
Instance Attribute Details
#custom_id -> String (readonly)
Returns The custom id of the button.
69 70 71 |
# File 'lib/discorb/interaction/components.rb', line 69 def custom_id @custom_id end |