Class: Discorb::MessageComponentInteraction::Button
- Inherits:
-
Discorb::MessageComponentInteraction
- Object
- DiscordModel
- Interaction
- Discorb::MessageComponentInteraction
- Discorb::MessageComponentInteraction::Button
- Defined in:
- lib/discorb/interaction.rb
Overview
Represents a button interaction.
Instance Attribute Summary collapse
-
#custom_id -> String
readonly
The custom id of the button.
Attributes inherited from Interaction
#application_id, #id, #member, #token, #type, #user, #version
Method Summary
Methods included from Interaction::UpdateResponse
Methods included from Interaction::SourceResponse
Methods inherited from Interaction
#channel, #guild, #inspect, #target
Methods inherited from DiscordModel
Instance Attribute Details
#custom_id -> String (readonly)
Returns The custom id of the button.
416 417 418 |
# File 'lib/discorb/interaction.rb', line 416 def custom_id @custom_id end |