- Enclosing class:
- TdApi
Handles a pending join request in a chat.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionboolean
True, if the request is approved.long
Chat identifier.static final int
long
Identifier of the user that sent the request. -
Constructor Summary
ConstructorDescriptionHandles a pending join request in a chat.ProcessChatJoinRequest
(long chatId, long userId, boolean approve) Handles a pending join request in a chat.ProcessChatJoinRequest
(DataInput input) Handles a pending join request 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. -
userId
public long userIdIdentifier of the user that sent the request. -
approve
public boolean approveTrue, if the request is approved. Otherwise the request is declived. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ProcessChatJoinRequest
public ProcessChatJoinRequest()Handles a pending join request in a chat. ReturnsOk
-
ProcessChatJoinRequest
public ProcessChatJoinRequest(long chatId, long userId, boolean approve) Handles a pending join request in a chat. ReturnsOk
- Parameters:
chatId
- long Chat identifier.userId
- long Identifier of the user that sent the request.approve
- boolean True, if the request is approved. Otherwise the request is declived.
-
ProcessChatJoinRequest
Handles a pending join request 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()
-