Class TdApi.GetGroupsInCommon

  • Enclosing class:
    TdApi

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

    Returns Chats

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      int limit
      Maximum number of chats to be returned; up to 100.
      long offsetChatId
      Chat identifier starting from which to return chats; use 0 for the first request.
      int userId
      User identifier.
    • Constructor Summary

      Constructors 
      Constructor Description
      GetGroupsInCommon()
      Default constructor.
      GetGroupsInCommon​(int userId, long offsetChatId, int limit)
      Constructor for initialization of all fields.
    • Field Detail

      • userId

        public int 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
        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.
      • GetGroupsInCommon

        public GetGroupsInCommon​(int userId,
                                 long offsetChatId,
                                 int limit)
        Constructor for initialization of all fields.
        Parameters:
        userId - User identifier.
        offsetChatId - Chat identifier starting from which to return chats; use 0 for the first request.
        limit - Maximum number of chats to be returned; up to 100.