1.7 KiB
1.7 KiB
title: danog\MadelineProto\MTProtoTools\CombinedUpdatesState: Stores multiple update states.
description:
danog\MadelineProto\MTProtoTools\CombinedUpdatesState
Author: Daniil Gentili daniil@daniil.it
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
remove(int $channel): void
Remove update state.
Parameters:
$channel
:int
Channel whose state should be removed
Generated by danog/phpdoc
has(int $channel): bool
Check if update state is present.
Parameters:
$channel
:int
Channel ID
Generated by danog/phpdoc
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
Generated by danog/phpdoc