Class TdApi.UpdateChatPosition

Enclosing class:
TdApi

public static class TdApi.UpdateChatPosition extends TdApi.Update
The position of a chat in a chat list has changed. An updateChatLastMessage or updateChatDraftMessage update might be sent instead of the update.
  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • position

      public TdApi.ChatPosition position
      New chat position. If new order is 0, then the chat needs to be removed from the list.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • UpdateChatPosition

      public UpdateChatPosition()
      The position of a chat in a chat list has changed. An updateChatLastMessage or updateChatDraftMessage update might be sent instead of the update.
    • UpdateChatPosition

      public UpdateChatPosition(long chatId, TdApi.ChatPosition position)
      The position of a chat in a chat list has changed. An updateChatLastMessage or updateChatDraftMessage update might be sent instead of the update.
      Parameters:
      chatId - Chat identifier.
      position - New chat position. If new order is 0, then the chat needs to be removed from the list.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR