- Enclosing class:
- TdApi
Handles all pending join requests for
a given link in a chat.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionboolean
True, if the requests are approved.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 approveTrue, if the requests are approved. Otherwise the requests are declived. -
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.Returns
Ok
-
ProcessChatJoinRequests
Handles all pending join requests for a given link in a chat.Returns
Ok
- 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 True, if the requests are approved. Otherwise the requests are declived.
-
ProcessChatJoinRequests
Handles all pending join requests for a given link in a chat.Returns
Ok
- 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()
-