java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatType
it.tdlight.jni.TdApi.ChatTypeSecret
- Enclosing class:
- TdApi
A secret chat with a user.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intintSecret chat identifier.longUser identifier of the secret chat peer. -
Constructor Summary
ConstructorsConstructorDescriptionA secret chat with a user.ChatTypeSecret(int secretChatId, long userId) A secret chat with a user.ChatTypeSecret(DataInput input) A secret chat with a user. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
secretChatId
public int secretChatIdSecret chat identifier. -
userId
public long userIdUser identifier of the secret chat peer. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ChatTypeSecret
public ChatTypeSecret()A secret chat with a user. -
ChatTypeSecret
public ChatTypeSecret(int secretChatId, long userId) A secret chat with a user.- Parameters:
secretChatId- int Secret chat identifier.userId- long User identifier of the secret chat peer.
-
ChatTypeSecret
A secret chat with a user.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-