Package it.tdlight.jni
Class TdApi.CloseSecretChat
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.CloseSecretChat
- Enclosing class:
- TdApi
public static class TdApi.CloseSecretChat extends TdApi.Function
Closes a secret chat, effectively
transferring its state to secretChatStateClosed.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
secretChatId
Secret chat identifier. -
Constructor Summary
Constructors Constructor Description CloseSecretChat()
Closes 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)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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:
- Constant Field Values
-
-
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
- 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()
-