Class: TD::Types::Update::ChatOrder

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/chat_order.rb

Overview

The order of the chat in the chat list has changed. Instead of this update updateChatLastMessage, updateChatIsPinned, updateChatDraftMessage, or updateChatIsSponsored might be sent.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idInteger

Chat identifier.

Returns:

  • (Integer)

    the current value of chat_id



8
9
10
# File 'lib/tdlib/types/update/chat_order.rb', line 8

def chat_id
  @chat_id
end

#orderInteger

New value of the order.

Returns:

  • (Integer)

    the current value of order



8
9
10
# File 'lib/tdlib/types/update/chat_order.rb', line 8

def order
  @order
end