- Enclosing class:
- TdApi
Returns a list of common group chats
with a given user. Chats are sorted
by their type and creation date.
Returns
Chats-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intintThe maximum number of chats to be returned; up to 100.longChat identifier starting from which to return chats; use 0 for the first request.longUser identifier. -
Constructor Summary
ConstructorsConstructorDescriptionReturns a list of common group chats with a given user.GetGroupsInCommon(long userId, long offsetChatId, int limit) Returns a list of common group chats with a given user.GetGroupsInCommon(DataInput input) Returns a list of common group chats with a given user. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
userId
public long userIdUser identifier. -
offsetChatId
public long offsetChatIdChat identifier starting from which to return chats; use 0 for the first request. -
limit
public int limitThe maximum number of chats to be returned; up to 100. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
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. ReturnsChats -
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. ReturnsChats- 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
Returns a list of common group chats with a given user. Chats are sorted by their type and creation date. ReturnsChats- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-