public static class TdApi.ProcessChatJoinRequest extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
boolean |
approve
Pass true to approve the request; pass false to decline it.
|
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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic 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 - Pass true to approve the request; pass false to decline it.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object