* Sets the verbosity level for a specified TDLib internal log tag. This is an offline method. Can be called before authorization. Can be called synchronously.
13
*/
14
class SetLogTagVerbosityLevel extends TdFunction
15
{
16
public const TYPE_NAME = 'setLogTagVerbosityLevel';
17
18
/**
19
* Logging tag to change verbosity level.
20
*/
21
protected string $tag;
22
23
/**
24
* New verbosity level; 1-1024.
25
*/
26
protected int $newVerbosityLevel;
27
28
public function __construct(string $tag, int $newVerbosityLevel)
29
{
30
$this->tag = $tag;
31
$this->newVerbosityLevel = $newVerbosityLevel;
32
}
33
34
public static function fromArray(array $array): SetLogTagVerbosityLevel