Class TdApi.GetGroupsInCommon

  • Enclosing class:
    TdApi

    public static class TdApi.GetGroupsInCommon
    extends TdApi.Function
    Returns a list of common group chats with a given user. Chats are sorted by their type and creation date.

    Returns Chats

    • Field Detail

      • userId

        public long userId
        User identifier.
      • offsetChatId

        public long offsetChatId
        Chat identifier starting from which to return chats; use 0 for the first request.
      • limit

        public int limit
        The maximum number of chats to be returned; up to 100.
      • CONSTRUCTOR

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

      • GetGroupsInCommon

        public GetGroupsInCommon()
        Default constructor for a function, which returns a list of common group chats with a given user. Chats are sorted by their type and creation date.

        Returns Chats

      • GetGroupsInCommon

        public GetGroupsInCommon​(long userId,
                                 long offsetChatId,
                                 int limit)
        Creates a function, which returns a list of common group chats with a given user. Chats are sorted by their type and creation date.

        Returns Chats

        Parameters:
        userId - User identifier.
        offsetChatId - Chat identifier starting from which to return chats; use 0 for the first request.
        limit - The maximum number of chats to be returned; up to 100.