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 Details

    • 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
      See Also:
      Constant Field Values
  • Constructor Details

    • GetGroupsInCommon

      public GetGroupsInCommon()
      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)
      Returns a list of common group chats with a given user. Chats are sorted by their type and creation date.

      Returns Chats

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

      public GetGroupsInCommon​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details