* Returns all updates needed to restore current TDLib state, i.e. all actual UpdateAuthorizationState/UpdateUser/UpdateNewChat and others. This is especially useful if TDLib is run in a separate process. This is an offline method. Can be called before authorization.
13
*/
14
class GetCurrentState extends TdFunction
15
{
16
public const TYPE_NAME = 'getCurrentState';
17
18
public function __construct()
19
{
20
}
21
22
public static function fromArray(array $array): GetCurrentState
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.