public static class TdApi.CloseSecretChat extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
secretChatId
Secret chat identifier.
|
Constructor and Description |
---|
CloseSecretChat()
Default constructor for a function, which closes a secret chat, effectively transferring its state to secretChatStateClosed.
|
CloseSecretChat(int secretChatId)
Creates a function, which closes a secret chat, effectively transferring its state to secretChatStateClosed.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int secretChatId
public static final int CONSTRUCTOR
public CloseSecretChat()
Returns Ok
public CloseSecretChat(int secretChatId)
Returns Ok
secretChatId
- Secret chat identifier.public int getConstructor()
getConstructor
in class TdApi.Function