Package org.drinkless.tdlib
Class TdApi.ProcessChatJoinRequest
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.ProcessChatJoinRequest
-
- Enclosing class:
- TdApi
public static class TdApi.ProcessChatJoinRequest extends TdApi.Function
Handles a pending join request in a chat.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description booleanapproveTrue, if the request is approved.longchatIdChat identifier.static intCONSTRUCTORIdentifier uniquely determining type of the object.longuserIdIdentifier of the user that sent the request.
-
Constructor Summary
Constructors Constructor Description ProcessChatJoinRequest()Default constructor for a function, which handles a pending join request in a chat.ProcessChatJoinRequest(long chatId, long userId, boolean approve)Creates a function, which handles a pending join request in a chat.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Chat identifier.
-
userId
public long userId
Identifier of the user that sent the request.
-
approve
public boolean approve
True, if the request is approved. Otherwise the request is declived.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProcessChatJoinRequest
public ProcessChatJoinRequest()
Default constructor for a function, which handles a pending join request in a chat.Returns
Ok
-
ProcessChatJoinRequest
public ProcessChatJoinRequest(long chatId, long userId, boolean approve)Creates a function, which handles a pending join request in a chat.Returns
Ok- Parameters:
chatId- Chat identifier.userId- Identifier of the user that sent the request.approve- True, if the request is approved. Otherwise the request is declived.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-