Class TdApi.CloseSecretChat
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.CloseSecretChat
- Enclosing class:
- TdApi
Closes a secret chat, effectively transferring its state to secretChatStateClosed.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Secret chat identifier. -
Constructor Summary
ConstructorDescriptionDefault 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 TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-