Class: Telegram::Bot::Types::InaccessibleMessage
- Defined in:
- sig/telegram/bot/types/inaccessible_message.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.
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/inaccessible_message.rbs', line 8 def chat @chat end |
#date ⇒ Integer (readonly)
Returns the value of attribute date.
10 11 12 |
# File 'sig/telegram/bot/types/inaccessible_message.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/inaccessible_message.rbs', line 9 def @message_id end |
Class Method Details
.new(chat:, message_id:, date:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/inaccessible_message.rbs', line 6
def self.new: (chat: Chat, message_id: Integer, date: Integer) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|