public static class TdApi.GetChatJoinRequests extends TdApi.Function
Returns ChatJoinRequests
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
inviteLink
Invite link for which to return join requests.
|
int |
limit
The maximum number of requests to join the chat to return.
|
TdApi.ChatJoinRequest |
offsetRequest
A chat join request from which to return next requests; pass null to get results from the beginning.
|
java.lang.String |
query
A query to search for in the first names, last names and usernames of the users to return.
|
Constructor and Description |
---|
GetChatJoinRequests()
Default constructor for a function, which returns pending join requests in a chat.
|
GetChatJoinRequests(long chatId,
java.lang.String inviteLink,
java.lang.String query,
TdApi.ChatJoinRequest offsetRequest,
int limit)
Creates a function, which returns pending join requests in a chat.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public java.lang.String inviteLink
public java.lang.String query
public TdApi.ChatJoinRequest offsetRequest
public int limit
public static final int CONSTRUCTOR
public GetChatJoinRequests()
Returns ChatJoinRequests
public GetChatJoinRequests(long chatId, java.lang.String inviteLink, java.lang.String query, TdApi.ChatJoinRequest offsetRequest, int limit)
Returns ChatJoinRequests
chatId
- Chat 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
- The maximum number of requests to join the chat to return.public int getConstructor()
getConstructor
in class TdApi.Function