mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 03:14:39 +01:00
fix desc
This commit is contained in:
parent
db6ee920fc
commit
c5a7011a91
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user