libtd-ktx / kotlinx.telegram.coroutines / getGroupsInCommon
getGroupsInCommon
suspend fun
TelegramFlow
.getGroupsInCommon(userId:
Int
, offsetChatId:
Long
, limit:
Int
):
Chats
Suspend function, which returns a list of common group chats with a given user. Chats are sorted by their type and creation date.
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.
Return Chats Represents a list of chats.