- Enclosing class:
- TdApi
Handles all pending join requests for
a given link in a chat.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionboolean
Pass true to approve all requests; pass false to decline them.long
Chat identifier.static final int
Invite link for which to process join requests. -
Constructor Summary
ConstructorDescriptionHandles all pending join requests for a given link in a chat.ProcessChatJoinRequests
(long chatId, String inviteLink, boolean approve) Handles all pending join requests for a given link in a chat.ProcessChatJoinRequests
(DataInput input) Handles all pending join requests for a given link 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 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
public boolean approvePass true to approve all requests; pass false to decline them. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ProcessChatJoinRequests
public ProcessChatJoinRequests()Handles all pending join requests for a given link in a chat. ReturnsOk
-
ProcessChatJoinRequests
Handles all pending join requests for a given link in a chat. ReturnsOk
- Parameters:
chatId
- long Chat identifier.inviteLink
- String 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
- boolean Pass true to approve all requests; pass false to decline them.
-
ProcessChatJoinRequests
Handles all pending join requests for a given link in a chat. ReturnsOk
- 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()
-