Class: TD::Types::ChatPosition
- Defined in:
- lib/tdlib/types/chat_position.rb
Overview
Describes a position of a chat in a chat list.
Instance Attribute Summary collapse
-
#is_pinned ⇒ Boolean
True, if the chat is pinned in the chat list.
-
#list ⇒ TD::Types::ChatList
The chat list.
-
#order ⇒ Integer
A parameter used to determine order of the chat in the chat list.
-
#source ⇒ TD::Types::ChatSource?
Source of the chat in the chat list; may be null.
Method Summary
Methods inherited from Base
Instance Attribute Details
#is_pinned ⇒ Boolean
True, if the chat is pinned in the chat list.
9 10 11 |
# File 'lib/tdlib/types/chat_position.rb', line 9 def is_pinned @is_pinned end |
#list ⇒ TD::Types::ChatList
The chat list.
9 10 11 |
# File 'lib/tdlib/types/chat_position.rb', line 9 def list @list end |
#order ⇒ Integer
A parameter used to determine order of the chat in the chat list. Chats must be sorted by the pair (order, chat.id) in descending order.
9 10 11 |
# File 'lib/tdlib/types/chat_position.rb', line 9 def order @order end |
#source ⇒ TD::Types::ChatSource?
Source of the chat in the chat list; may be null.
9 10 11 |
# File 'lib/tdlib/types/chat_position.rb', line 9 def source @source end |