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
long
userId
Identifier of the target user. -
Constructor Summary
Constructors Constructor Description CreateNewSecretChat()
Creates a new secret chat.CreateNewSecretChat(long 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(DataOutput 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 long 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(long userId)Creates a new secret chat. Returns the newly created chat.Returns
Chat
- Parameters:
userId
- long 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()
-