Class: Telegram::Bot::Types::MessageReactionCountUpdated
- Defined in:
- sig/telegram/bot/types/message_reaction_count_updated.rbs
Instance Attribute Summary collapse
-
#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.
-
#reactions ⇒ Array[ReactionCount]
readonly
Returns the value of attribute reactions.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#chat ⇒ Chat (readonly)
Returns the value of attribute chat.
8 9 10 |
# File 'sig/telegram/bot/types/message_reaction_count_updated.rbs', line 8 def chat @chat end |
#date ⇒ Integer (readonly)
Returns the value of attribute date.
10 11 12 |
# File 'sig/telegram/bot/types/message_reaction_count_updated.rbs', line 10 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_count_updated.rbs', line 9 def @message_id end |
#reactions ⇒ Array[ReactionCount] (readonly)
Returns the value of attribute reactions.
11 12 13 |
# File 'sig/telegram/bot/types/message_reaction_count_updated.rbs', line 11 def reactions @reactions end |
Class Method Details
.new(chat:, message_id:, date:, reactions:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/message_reaction_count_updated.rbs', line 6
def self.new: (chat: Chat, message_id: Integer, date: Integer, reactions: Array[ReactionCount]) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|