public static class TdApi.GetGroupsInCommon extends TdApi.Function
Returns Chats
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The 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 and Description |
---|
GetGroupsInCommon()
Default constructor for a function, which returns a list of common group chats with a given user.
|
GetGroupsInCommon(int userId,
long offsetChatId,
int limit)
Creates a function, which returns a list of common group chats with a given user.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int userId
public long offsetChatId
public int limit
public static final int CONSTRUCTOR
public GetGroupsInCommon()
Returns Chats
public GetGroupsInCommon(int userId, long offsetChatId, int limit)
Returns Chats
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.public int getConstructor()
getConstructor
in class TdApi.Function