- Enclosing class:
- TdApi
Handles a pending join request in a chat.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanPass true to approve the request; pass false to decline it.longChat identifier.static final intlongIdentifier of the user that sent the request. -
Constructor Summary
ConstructorsConstructorDescriptionHandles 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
toStringMethods 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 approvePass true to approve the request; pass false to decline it. -
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 Pass true to approve the request; pass false to decline it.
-
ProcessChatJoinRequest
Handles a pending join request in a chat. ReturnsOk- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-