diff --git a/src/danog/MadelineProto/MyTelegramOrgWrapper.php b/src/danog/MadelineProto/MyTelegramOrgWrapper.php index 7434ce3b..0a33d9b6 100644 --- a/src/danog/MadelineProto/MyTelegramOrgWrapper.php +++ b/src/danog/MadelineProto/MyTelegramOrgWrapper.php @@ -264,6 +264,7 @@ return false; ', $result); $asd = explode('', $cose['1']); $api_hash = $asd['0']; + return ['api_id' => (int) $api_id, 'api_hash' => $api_hash]; } }