Module tdlight.api

Class TdApi.GetChatFolderChatCount

Enclosing class:
TdApi

public static final 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()
      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)
      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.

      Returns Count

    • GetChatFolderChatCount

      public GetChatFolderChatCount(DataInput input) throws IOException
      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:
      input - Serialized input
      Throws:
      IOException - the deserialization failed
  • 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
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object