Package org.drinkless.tdlib
Class TdApi.GetGroupsInCommon
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.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 Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.intlimitThe maximum number of chats to be returned; up to 100.longoffsetChatIdChat identifier starting from which to return chats; use 0 for the first request.longuserIdUser identifier.
-
Constructor Summary
Constructors Constructor Description GetGroupsInCommon()Default constructor for a function, which returns a list of common group chats with a given user.GetGroupsInCommon(long userId, long offsetChatId, int limit)Creates a function, which returns a list of common group chats with a given user.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
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
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetGroupsInCommon
public GetGroupsInCommon()
Default constructor for a function, which 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)Creates a function, which returns a list of common group chats with a given user. Chats are sorted by their type and creation date.Returns
Chats- 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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-