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.
Instance Attribute Summary collapse
-
#chat_id ⇒ Integer
Chat identifier.
-
#last_message ⇒ TD::Types::Message?
The new last message in the chat; may be null if the last message became unknown.
-
#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.
10 11 12 |
# File 'lib/tdlib/types/update/chat_last_message.rb', line 10 def chat_id @chat_id end |
#last_message ⇒ TD::Types::Message?
The new last message in the chat; may be null if the last message became unknown. While the last message is unknown, new messages can be added to the chat without corresponding NewMessage update.
10 11 12 |
# File 'lib/tdlib/types/update/chat_last_message.rb', line 10 def @last_message end |
#positions ⇒ Array<TD::Types::ChatPosition>
The new chat positions in the chat lists.
10 11 12 |
# File 'lib/tdlib/types/update/chat_last_message.rb', line 10 def positions @positions end |