public static class TdApi.ChatTypeSecret extends TdApi.ChatType
TdApi.ChatType.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
secretChatId
Secret chat identifier.
|
int |
userId
User identifier of the secret chat peer.
|
Constructor and Description |
---|
ChatTypeSecret()
A secret chat with a user.
|
ChatTypeSecret(int secretChatId,
int userId)
A secret chat with a user.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int secretChatId
public int userId
public static final int CONSTRUCTOR
public ChatTypeSecret()
public ChatTypeSecret(int secretChatId, int userId)
secretChatId
- Secret chat identifier.userId
- User identifier of the secret chat peer.public int getConstructor()
getConstructor
in class TdApi.ChatType