- Enclosing class:
- TdApi
Creates a new secret chat. Returns
the newly created chat.
Returns
Chat
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
long
Identifier of the target user. -
Constructor Summary
ConstructorDescriptionCreates a new secret chat.CreateNewSecretChat
(long userId) Creates a new secret chat.CreateNewSecretChat
(DataInput input) Creates a new secret chat. -
Method Summary
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:
-
-
Constructor Details
-
CreateNewSecretChat
public CreateNewSecretChat()Creates a new secret chat. Returns the newly created chat. ReturnsChat
-
CreateNewSecretChat
public CreateNewSecretChat(long userId) Creates a new secret chat. Returns the newly created chat. ReturnsChat
- Parameters:
userId
- long Identifier of the target user.
-
CreateNewSecretChat
Creates a new secret chat. Returns the newly created chat. ReturnsChat
- 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()
-