1
0
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
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/tag/build Pipeline failed
ci/woodpecker/tag/deploy unknown status

This commit is contained in:
Daniil Gentili 2023-01-12 16:03:47 +01:00
parent d0a0b17b8b
commit 81af3df9f1
2 changed files with 2 additions and 2 deletions

View File

@ -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".

View File

@ -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.