mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 09:14:39 +01:00
Avoid problems with old sessions
This commit is contained in:
parent
5d88935734
commit
1ca0a6c84b
@ -33,11 +33,11 @@ class Button implements \JsonSerializable, \ArrayAccess
|
|||||||
*
|
*
|
||||||
* @psalm-var non-empty-array<array-key, mixed>
|
* @psalm-var non-empty-array<array-key, mixed>
|
||||||
*/
|
*/
|
||||||
private array $button;
|
private array $button = [];
|
||||||
/**
|
/**
|
||||||
* Session name.
|
* Session name.
|
||||||
*/
|
*/
|
||||||
private string $session;
|
private string $session = '';
|
||||||
/**
|
/**
|
||||||
* MTProto instance.
|
* MTProto instance.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user