Class: TD::Types::Update::ChatPosition
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::ChatPosition
- Defined in:
- lib/tdlib/types/update/chat_position.rb
Overview
The position of a chat in a chat list has changed. Instead of this update updateChatLastMessage or updateChatDraftMessage might be sent.
Instance Attribute Summary collapse
-
#chat_id ⇒ Integer
Chat identifier.
-
#position ⇒ TD::Types::ChatPosition
New chat position.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_id ⇒ Integer
Chat identifier.
8 9 10 |
# File 'lib/tdlib/types/update/chat_position.rb', line 8 def chat_id @chat_id end |
#position ⇒ TD::Types::ChatPosition
New chat position. If new order is 0, then the chat needs to be removed from the list.
8 9 10 |
# File 'lib/tdlib/types/update/chat_position.rb', line 8 def position @position end |