Class TdApi.DeleteChatFolder

Enclosing class:
TdApi

public static class TdApi.DeleteChatFolder extends TdApi.Function<TdApi.Ok>
Deletes existing chat folder.

Returns Ok

  • Field Details

    • chatFolderId

      public int chatFolderId
      Chat folder identifier.
    • leaveChatIds

      public long[] leaveChatIds
      Identifiers of the chats to leave. The chats must be pinned or always included in the folder.
    • CONSTRUCTOR

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

    • DeleteChatFolder

      public DeleteChatFolder()
      Default constructor for a function, which deletes existing chat folder.

      Returns Ok

    • DeleteChatFolder

      public DeleteChatFolder(int chatFolderId, long[] leaveChatIds)
      Creates a function, which deletes existing chat folder.

      Returns Ok

      Parameters:
      chatFolderId - Chat folder identifier.
      leaveChatIds - Identifiers of the chats to leave. The chats must be pinned or always included in the folder.
  • 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.Function<TdApi.Ok>
      Returns:
      this.CONSTRUCTOR