mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 13:54:39 +01:00
Bring back PHP 8.1 support, will switch to PHP 8.2 only sometime later
This commit is contained in:
parent
d0a0b17b8b
commit
81af3df9f1
@ -83,6 +83,8 @@ class MTProto extends AsyncConstruct implements TLCallback
|
||||
use \danog\MadelineProto\Wrappers\Templates;
|
||||
use \danog\MadelineProto\Wrappers\TOS;
|
||||
use DbPropertiesTrait;
|
||||
private const MAX_ENTITY_LENGTH = 100;
|
||||
private const MAX_ENTITY_SIZE = 8110;
|
||||
private const RSA_KEYS = [
|
||||
"-----BEGIN RSA PUBLIC KEY-----\n".
|
||||
"MIIBCgKCAQEA6LszBcC1LGzyr992NzE0ieY+BSaOW622Aa9Bd4ZHLl+TuFQ4lo4g\n".
|
||||
|
@ -392,8 +392,6 @@ trait BotAPI
|
||||
}
|
||||
return $arguments;
|
||||
}
|
||||
private const MAX_ENTITY_LENGTH = 100;
|
||||
private const MAX_ENTITY_SIZE = 8110;
|
||||
|
||||
/**
|
||||
* Split too long message into chunks.
|
||||
|
Loading…
Reference in New Issue
Block a user