Package org.drinkless.tdlib
Class TdApi.ChatPosition
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatPosition
- Enclosing class:
- TdApi
Describes a position of a chat in a chat list.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.booleanTrue, if the chat is pinned in the chat list.The chat list.longA parameter used to determine order of the chat in the chat list.Source of the chat in the chat list; may be null. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a position of a chat in a chat list.ChatPosition(TdApi.ChatList list, long order, boolean isPinned, TdApi.ChatSource source) Describes a position of a chat in a chat list. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
list
The chat list. -
order
public long orderA 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. -
isPinned
public boolean isPinnedTrue, if the chat is pinned in the chat list. -
source
Source of the chat in the chat list; may be null. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatPosition
public ChatPosition()Describes a position of a chat in a chat list. -
ChatPosition
Describes a position of a chat in a chat list.- Parameters:
list- The chat list.order- 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.isPinned- True, if the chat is pinned in the chat list.source- Source of the chat in the chat list; may be null.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-