Interface GetGroupsInCommon

Returns a list of common group chats with a given user. Chats are sorted by their type and creation date. Request type for Tdjson#getGroupsInCommon.

interface GetGroupsInCommon {
    @type: "getGroupsInCommon";
    limit: number;
    offset_chat_id: number;
    user_id: number;
}

Properties

@type: "getGroupsInCommon"
limit: number

The maximum number of chats to be returned; up to 100.

offset_chat_id: number

Chat identifier starting from which to return chats; use 0 for the first request.

user_id: number

User identifier.