1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 10:38:59 +01:00
This commit is contained in:
Daniil Gentili 2017-08-16 22:31:42 +00:00
parent db6ee920fc
commit c5a7011a91

View File

@ -30,7 +30,7 @@ class RPCErrorException extends \Exception
case 'USER_PRIVACY_RESTRICTED':$message = "The user's privacy settings do not allow you to do this"; break;
case 'CHANNEL_PRIVATE':$message = "You haven't joined this channel/supergroup"; break;
case 'FLOOD_WAIT_666':$message = 'Spooky af m8'; break;
case 'USER_IS_BOT':$message = "Bots can't send messages to themselves"; break;
case 'USER_IS_BOT':$message = "Bots can't send messages to other bots"; break;
case 'BOT_METHOD_INVALID':$message = 'This method cannot be run by a bot'; break;
case 'PHONE_CODE_EXPIRED': $message = 'The phone code you provided has expired, this may happen if it was sent to any chat on telegram (if the code is sent through a telegram chat (not the official account) to avoid it append or prepend to the code some chars)'; break;
case 'USERNAME_INVALID': $message = 'The provided username is not valid'; break;