public static class TdApi.ProcessChatJoinRequests extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
boolean |
approve
Pass true to approve all requests; pass false to decline them.
|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
inviteLink
Invite link for which to process join requests.
|
| Constructor and Description |
|---|
ProcessChatJoinRequests()
Default constructor for a function, which handles all pending join requests for a given link in a chat.
|
ProcessChatJoinRequests(long chatId,
java.lang.String inviteLink,
boolean approve)
Creates a function, which handles all pending join requests for a given link in a chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public java.lang.String inviteLink
public boolean approve
public static final int CONSTRUCTOR
public ProcessChatJoinRequests()
Returns Ok
public ProcessChatJoinRequests(long chatId,
java.lang.String inviteLink,
boolean approve)
Returns Ok
chatId - Chat identifier.inviteLink - Invite link for which to process join requests. If empty, all join requests will be processed. Requires administrator privileges and canInviteUsers right in the chat for own links and owner privileges for other links.approve - Pass true to approve all requests; pass false to decline them.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object