- Enclosing class:
- TdApi
Closes a secret chat, effectively
transferring its state to secretChatStateClosed.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
int
Secret chat identifier. -
Constructor Summary
ConstructorDescriptionCloses a secret chat, effectively transferring its state to secretChatStateClosed.CloseSecretChat
(int secretChatId) Closes a secret chat, effectively transferring its state to secretChatStateClosed.CloseSecretChat
(DataInput input) Closes a secret chat, effectively transferring its state to secretChatStateClosed. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
secretChatId
public int secretChatIdSecret chat identifier. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
CloseSecretChat
public CloseSecretChat()Closes a secret chat, effectively transferring its state to secretChatStateClosed.Returns
Ok
-
CloseSecretChat
public CloseSecretChat(int secretChatId) Closes a secret chat, effectively transferring its state to secretChatStateClosed.Returns
Ok
- Parameters:
secretChatId
- int Secret chat identifier.
-
CloseSecretChat
Closes a secret chat, effectively transferring its state to secretChatStateClosed.Returns
Ok
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-