Package it.tdlight.jni
Class TdApi.ChatTypeSecret
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatType
it.tdlight.jni.TdApi.ChatTypeSecret
- Enclosing class:
- TdApi
public static class TdApi.ChatTypeSecret extends TdApi.ChatType
A secret chat with a user.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
secretChatId
Secret chat identifier.int
userId
User identifier of the secret chat peer. -
Constructor Summary
Constructors Constructor Description ChatTypeSecret()
A secret chat with a user.ChatTypeSecret(int secretChatId, int userId)
A secret chat with a user.ChatTypeSecret(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.Object
serialize, toString
-
Field Details
-
secretChatId
public int secretChatIdSecret chat identifier. -
userId
public int userIdUser identifier of the secret chat peer. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
ChatTypeSecret
public ChatTypeSecret()A secret chat with a user. -
ChatTypeSecret
public ChatTypeSecret(int secretChatId, int userId)A secret chat with a user.- Parameters:
secretChatId
- int Secret chat identifier.userId
- int User identifier of the secret chat peer.
-
ChatTypeSecret
- 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()
-