Class: Telegram::Bot::Types::MessageId
- Defined in:
- sig/telegram/bot/types/message_id.rbs
Instance Attribute Summary collapse
-
#message_id ⇒ Integer
readonly
Returns the value of attribute message_id.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#message_id ⇒ Integer (readonly)
Returns the value of attribute message_id.
8 9 10 |
# File 'sig/telegram/bot/types/message_id.rbs', line 8 def @message_id end |
Class Method Details
.new(message_id:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/message_id.rbs', line 6
def self.new: (message_id: Integer) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|