Package org.drinkless.tdlib
Class TdApi.ChatTypeSecret
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatType
org.drinkless.tdlib.TdApi.ChatTypeSecret
- Enclosing class:
- TdApi
A secret chat with a user.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intSecret chat identifier.longUser identifier of the other user in the secret chat. -
Constructor Summary
ConstructorsConstructorDescriptionA secret chat with a user.ChatTypeSecret(int secretChatId, long userId) A secret chat with a user. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
secretChatId
public int secretChatIdSecret chat identifier. -
userId
public long userIdUser identifier of the other user in the secret chat. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- 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- Secret chat identifier.userId- User identifier of the other user in the secret chat.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-