Apply fixes from StyleCI
This commit is contained in:
parent
dd06d6c92e
commit
3ae434e206
@ -143,6 +143,6 @@ $secret = $update['update']['message']['chat_id'];
|
||||
} catch (\danog\MadelineProto\Exception $e) {
|
||||
var_dump($e->getMessage());
|
||||
}
|
||||
//sleep(1);
|
||||
//sleep(1);
|
||||
echo 'Wrote '.\danog\MadelineProto\Serialization::serialize('s.madeline', $MadelineProto).' bytes'.PHP_EOL;
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ trait ResponseHandler
|
||||
/*if (isset($update['message']['decrypted_message']['random_bytes']) && strlen($update['message']['decrypted_message']['random_bytes']) < 15) {
|
||||
throw new \danog\MadelineProto\ResponseException(\danog\MadelineProto\Lang::$current_lang['rand_bytes_too_short']);
|
||||
}*/ // already checked in TL.php
|
||||
//var_dump($update);
|
||||
//var_dump($update);
|
||||
switch ($update['message']['decrypted_message']['_']) {
|
||||
case 'decryptedMessageService':
|
||||
switch ($update['message']['decrypted_message']['action']['_']) {
|
||||
|
Loading…
Reference in New Issue
Block a user