Class: Telegram::Bot::Types::MessageReactionUpdated
- Defined in:
- sig/telegram/bot/types/message_reaction_updated.rbs
Instance Attribute Summary collapse
-
#actor_chat ⇒ Chat?
readonly
Returns the value of attribute actor_chat.
-
#chat ⇒ Chat
readonly
Returns the value of attribute chat.
-
#date ⇒ Integer
readonly
Returns the value of attribute date.
-
#message_id ⇒ Integer
readonly
Returns the value of attribute message_id.
-
#new_reaction ⇒ Array[reaction_type]
readonly
Returns the value of attribute new_reaction.
-
#old_reaction ⇒ Array[reaction_type]
readonly
Returns the value of attribute old_reaction.
-
#user ⇒ User?
readonly
Returns the value of attribute user.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#actor_chat ⇒ Chat? (readonly)
Returns the value of attribute actor_chat.
11 12 13 |
# File 'sig/telegram/bot/types/message_reaction_updated.rbs', line 11 def actor_chat @actor_chat end |
#chat ⇒ Chat (readonly)
Returns the value of attribute chat.
8 9 10 |
# File 'sig/telegram/bot/types/message_reaction_updated.rbs', line 8 def chat @chat end |
#date ⇒ Integer (readonly)
Returns the value of attribute date.
12 13 14 |
# File 'sig/telegram/bot/types/message_reaction_updated.rbs', line 12 def date @date end |
#message_id ⇒ Integer (readonly)
Returns the value of attribute message_id.
9 10 11 |
# File 'sig/telegram/bot/types/message_reaction_updated.rbs', line 9 def @message_id end |
#new_reaction ⇒ Array[reaction_type] (readonly)
Returns the value of attribute new_reaction.
14 15 16 |
# File 'sig/telegram/bot/types/message_reaction_updated.rbs', line 14 def new_reaction @new_reaction end |
#old_reaction ⇒ Array[reaction_type] (readonly)
Returns the value of attribute old_reaction.
13 14 15 |
# File 'sig/telegram/bot/types/message_reaction_updated.rbs', line 13 def old_reaction @old_reaction end |
#user ⇒ User? (readonly)
Returns the value of attribute user.
10 11 12 |
# File 'sig/telegram/bot/types/message_reaction_updated.rbs', line 10 def user @user end |
Class Method Details
.new(chat:, message_id:, user:, actor_chat:, date:, old_reaction:, new_reaction:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/message_reaction_updated.rbs', line 6
def self.new: (chat: Chat, message_id: Integer, ?user: User, ?actor_chat: Chat, date: Integer, old_reaction: Array[reaction_type], new_reaction: Array[reaction_type]) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|