Class TdApi.GetTopChats

  • Enclosing class:
    TdApi

    public static class TdApi.GetTopChats
    extends TdApi.Function
    Returns a list of frequently used chats. Supported only if the chat info database is enabled.

    Returns Chats

    • Field Detail

      • limit

        public int limit
        Maximum number of chats to be returned; up to 30.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetTopChats

        public GetTopChats()
        Default constructor.
      • GetTopChats

        public GetTopChats​(TdApi.TopChatCategory category,
                           int limit)
        Constructor for initialization of all fields.
        Parameters:
        category - Category of chats to be returned.
        limit - Maximum number of chats to be returned; up to 30.