Class TdApi.GetChatFolderChatCount

Enclosing class:
TdApi

public static class TdApi.GetChatFolderChatCount extends TdApi.Function<TdApi.Count>
Returns approximate number of chats in a being created chat folder. Main and archive chat lists must be fully preloaded for this function to work correctly.

Returns Count

  • Field Details

    • folder

      public TdApi.ChatFolder folder
      The new chat folder.
    • CONSTRUCTOR

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

    • GetChatFolderChatCount

      public GetChatFolderChatCount()
      Default constructor for a function, which returns approximate number of chats in a being created chat folder. Main and archive chat lists must be fully preloaded for this function to work correctly.

      Returns Count

    • GetChatFolderChatCount

      public GetChatFolderChatCount(TdApi.ChatFolder folder)
      Creates a function, which returns approximate number of chats in a being created chat folder. Main and archive chat lists must be fully preloaded for this function to work correctly.

      Returns Count

      Parameters:
      folder - The new chat 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.Object
      Returns:
      this.CONSTRUCTOR