Package org.drinkless.tdlib
Class TdApi.CloseSecretChat
- Enclosing class:
- TdApi
Closes a secret chat, effectively transferring its state to secretChatStateClosed.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intSecret chat identifier. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which closes a secret chat, effectively transferring its state to secretChatStateClosed.CloseSecretChat(int secretChatId) Creates a function, which closes a secret chat, effectively transferring its state to secretChatStateClosed. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
secretChatId
public int secretChatIdSecret chat identifier. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
CloseSecretChat
public CloseSecretChat()Default constructor for a function, which closes a secret chat, effectively transferring its state to secretChatStateClosed.Returns
Ok -
CloseSecretChat
public CloseSecretChat(int secretChatId) Creates a function, which closes a secret chat, effectively transferring its state to secretChatStateClosed.Returns
Ok- Parameters:
secretChatId- Secret chat identifier.
-
-
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
-