* Closes the TDLib instance, destroying all local data without a proper logout. The current user session will remain in the list of all active sessions. All local data will be destroyed. After the destruction completes updateAuthorizationState with authorizationStateClosed will be sent.
13
*/
14
class Destroy extends TdFunction
15
{
16
public const TYPE_NAME = 'destroy';
17
18
public function __construct()
19
{
20
}
21
22
public static function fromArray(array $array): Destroy
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.