Package org.drinkless.tdlib
Class TdApi.CloseSecretChat
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.CloseSecretChat
-
- Enclosing class:
- TdApi
public static class TdApi.CloseSecretChat extends TdApi.Function
Closes a secret chat, effectively transferring its state to secretChatStateClosed.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.intsecretChatIdSecret chat identifier.
-
Constructor Summary
Constructors Constructor Description CloseSecretChat()Default 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
secretChatId
public int secretChatId
Secret chat identifier.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-