- Enclosing class:
- TdApi
Returns pending join requests in a chat.
Returns ChatJoinRequests
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
Invite link for which to return join requests.int
The maximum number of chat join requests to return.A chat join request from which to return next requests; pass null to get results from the beginning.A query to search for in the first names, last names and usernames of the users to return. -
Constructor Summary
ConstructorDescriptionReturns pending join requests in a chat.GetChatJoinRequests
(long chatId, String inviteLink, String query, TdApi.ChatJoinRequest offsetRequest, int limit) Returns pending join requests in a chat.GetChatJoinRequests
(DataInput input) Returns pending join requests in a chat. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
inviteLink
Invite link for which to return join requests. If empty, all join requests will be returned. Requires administrator privileges and canInviteUsers right in the chat for own links and owner privileges for other links. -
query
A query to search for in the first names, last names and usernames of the users to return. -
offsetRequest
A chat join request from which to return next requests; pass null to get results from the beginning. -
limit
public int limitThe maximum number of chat join requests to return. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetChatJoinRequests
public GetChatJoinRequests()Returns pending join requests in a chat.Returns
ChatJoinRequests
-
GetChatJoinRequests
public GetChatJoinRequests(long chatId, String inviteLink, String query, TdApi.ChatJoinRequest offsetRequest, int limit) Returns pending join requests in a chat.Returns
ChatJoinRequests
- Parameters:
chatId
- long Chat identifier.inviteLink
- String Invite link for which to return join requests. If empty, all join requests will be returned. Requires administrator privileges and canInviteUsers right in the chat for own links and owner privileges for other links.query
- String A query to search for in the first names, last names and usernames of the users to return.offsetRequest
- ChatJoinRequest A chat join request from which to return next requests; pass null to get results from the beginning.limit
- int The maximum number of chat join requests to return.
-
GetChatJoinRequests
Returns pending join requests in a chat.Returns
ChatJoinRequests
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-