public static class TdApi.ProcessChatJoinRequest extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
boolean |
approve
True, if the request is approved.
|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
userId
Identifier of the user that sent the request.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public long userId
public boolean approve
public static final int CONSTRUCTOR
public ProcessChatJoinRequest()
Returns Ok
public ProcessChatJoinRequest(long chatId, long userId, boolean approve)
Returns Ok
chatId
- Chat identifier.userId
- Identifier of the user that sent the request.approve
- True, if the request is approved. Otherwise the request is declived.public int getConstructor()
getConstructor
in class TdApi.Function