Class: Discorb::Message::Interaction
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- Discorb::Message::Interaction
- Defined in:
- lib/discorb/message.rb
Overview
Represents a interaction of message.
Instance Attribute Summary collapse
-
#id -> Discorb::Snowflake
readonly
The user ID.
- #name -> String? readonly
-
#type -> Class
readonly
The type of interaction.
-
#user -> Discorb::User
readonly
The user.
Method Summary
Methods inherited from DiscordModel
Instance Attribute Details
#id -> Discorb::Snowflake (readonly)
Returns The user ID.
561 562 563 |
# File 'lib/discorb/message.rb', line 561 def id @id end |
#name -> String? (readonly)
564 565 566 |
# File 'lib/discorb/message.rb', line 564 def name @name end |
#type -> Class (readonly)
Returns The type of interaction.
566 567 568 |
# File 'lib/discorb/message.rb', line 566 def type @type end |
#user -> Discorb::User (readonly)
Returns The user.
568 569 570 |
# File 'lib/discorb/message.rb', line 568 def user @user end |