Package it.tdlight.jni
Class TdApi.CreateNewSecretChat
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.CreateNewSecretChat
- Enclosing class:
- TdApi
public static class TdApi.CreateNewSecretChat extends TdApi.Function
Creates a new secret chat. Returns
the newly created chat.
Returns Chat
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
userId
Identifier of the target user. -
Constructor Summary
Constructors Constructor Description CreateNewSecretChat()
Creates a new secret chat.CreateNewSecretChat(int userId)
Creates a new secret chat.CreateNewSecretChat(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
userId
public int userIdIdentifier of the target user. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
CreateNewSecretChat
public CreateNewSecretChat()Creates a new secret chat. Returns the newly created chat.Returns
Chat
-
CreateNewSecretChat
public CreateNewSecretChat(int userId)Creates a new secret chat. Returns the newly created chat.Returns
Chat
- Parameters:
userId
- int Identifier of the target user.
-
CreateNewSecretChat
- 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()
-