--- title: danog\MadelineProto\MTProtoTools\CombinedUpdatesState: Stores multiple update states. description: --- # `danog\MadelineProto\MTProtoTools\CombinedUpdatesState` [Back to index](../../../index.md) > Author: Daniil Gentili Stores multiple update states. ## Method list: * `get(int $channel, array $init): \danog\MadelineProto\MTProtoTools\UpdatesState|\danog\MadelineProto\MTProtoTools\UpdatesState[]` * `remove(int $channel): void` * `has(int $channel): bool` * `syncLoading(int $channel, bool|null $set): bool` ## Methods: ### `get(int $channel, array $init): \danog\MadelineProto\MTProtoTools\UpdatesState|\danog\MadelineProto\MTProtoTools\UpdatesState[]` Get or update multiple parameters. Parameters: * `$channel`: `int` Channel to get info about (optional, if not provided returns the entire info array) * `$init`: `array` Parameters to update #### See also: * `\danog\MadelineProto\MTProtoTools\UpdatesState` --- Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `remove(int $channel): void` Remove update state. Parameters: * `$channel`: `int` Channel whose state should be removed --- Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `has(int $channel): bool` Check if update state is present. Parameters: * `$channel`: `int` Channel ID --- Generated by [danog/phpdoc](https://phpdoc.daniil.it) ### `syncLoading(int $channel, bool|null $set): bool` Are we currently busy? Parameters: * `$channel`: `int` Channel to get info about * `$set`: `bool|null` Busy flag to set before returning --- Generated by [danog/phpdoc](https://phpdoc.daniil.it) --- Generated by [danog/phpdoc](https://phpdoc.daniil.it)