You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/RPCErrorException.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -659,7 +659,7 @@ public static function make(
659
659
'SRP_A_INVALID' => newself($rpc, 'The specified inputCheckPasswordSRP.A value is invalid.', $code, $caller, $previous),
660
660
'SRP_ID_INVALID' => newself($rpc, 'Invalid SRP ID provided.', $code, $caller, $previous),
661
661
'SRP_PASSWORD_CHANGED' => newself($rpc, 'Password has changed.', $code, $caller, $previous),
662
-
'STARGIFT_INVALID' => newself($rpc, 'The passed [inputInvoiceStarGift](https://core.telegram.org/constructor/inputInvoiceStarGift) is invalid.', $code, $caller, $previous),
662
+
'STARGIFT_INVALID' => newself($rpc, 'The passed gift is invalid.', $code, $caller, $previous),
663
663
'STARGIFT_USAGE_LIMITED' => newself($rpc, 'The gift is sold out.', $code, $caller, $previous),
664
664
'STARREF_AWAITING_END' => newself($rpc, 'The previous referral program was terminated less than 24 hours ago: further changes can be made after the date specified in userFull.starref_program.end_date.', $code, $caller, $previous),
665
665
'STARREF_EXPIRED' => newself($rpc, 'The specified referral link is invalid.', $code, $caller, $previous),
@@ -856,9 +856,9 @@ public static function make(
856
856
'USER_PRIVACY_RESTRICTED' => newself($rpc, 'The user\'s privacy settings do not allow you to do this.', $code, $caller, $previous),
857
857
'YOUR_PRIVACY_RESTRICTED' => newself($rpc, 'You cannot fetch the read date of this message because you have disallowed other users to do so for *your* messages; to fix, allow other users to see *your* exact last online date OR purchase a [Telegram Premium](https://core.telegram.org/api/premium) subscription.', $code, $caller, $previous),
858
858
'CHAT_FORBIDDEN' => new \danog\MadelineProto\RPCError\ChatForbiddenError($code, $caller, $previous),
859
+
'AUTH_KEY_UNREGISTERED' => newself($rpc, 'The specified authorization key is not registered in the system (for example, a PFS temporary key has expired).', $code, $caller, $previous),
859
860
'AUTH_KEY_INVALID' => newself($rpc, 'The specified auth key is invalid.', $code, $caller, $previous),
860
861
'AUTH_KEY_PERM_EMPTY' => newself($rpc, 'The method is unavailable for temporary authorization keys, not bound to a permanent authorization key.', $code, $caller, $previous),
861
-
'AUTH_KEY_UNREGISTERED' => newself($rpc, 'The specified authorization key is not registered in the system (for example, a PFS temporary key has expired).', $code, $caller, $previous),
862
862
'SESSION_EXPIRED' => newself($rpc, 'The session has expired.', $code, $caller, $previous),
863
863
'SESSION_PASSWORD_NEEDED' => new \danog\MadelineProto\RPCError\SessionPasswordNeededError($code, $caller, $previous),
864
864
'SESSION_REVOKED' => newself($rpc, 'The session was revoked by the user.', $code, $caller, $previous),
0 commit comments