Class: TD::Types::Update::ChatLastMessage
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::ChatLastMessage
- Defined in:
- lib/tdlib/types/update/chat_last_message.rb
Overview
The last message of a chat was changed. If last_message is null, then the last message in the chat became unknown. Some new unknown messages might be added to the chat in this case.
Instance Attribute Summary collapse
-
#chat_id ⇒ Integer
Chat identifier.
-
#last_message ⇒ TD::Types::Message?
The new last message in the chat; may be null.
-
#positions ⇒ Array<TD::Types::ChatPosition>
The new chat positions in the chat lists.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_id ⇒ Integer
Chat identifier.
9 10 11 |
# File 'lib/tdlib/types/update/chat_last_message.rb', line 9 def chat_id @chat_id end |
#last_message ⇒ TD::Types::Message?
The new last message in the chat; may be null.
9 10 11 |
# File 'lib/tdlib/types/update/chat_last_message.rb', line 9 def @last_message end |
#positions ⇒ Array<TD::Types::ChatPosition>
The new chat positions in the chat lists.
9 10 11 |
# File 'lib/tdlib/types/update/chat_last_message.rb', line 9 def positions @positions end |