public static class TdApi.ProcessChatJoinRequests extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
boolean |
approve
True, if the requests are approved.
|
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() |
toString
public 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
- True, if the requests are approved. Otherwise the requests are declived.public int getConstructor()
getConstructor
in class TdApi.Function