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
When a user blocks the bot, every message being sent to him is facing 403: Blocked by user. That's ok.
However, when you compose a message with exactly two photos and a one emoji as caption, then send it to a user, the very error message 400 "USER_IS_BLOCKED" is returned. So, it is not in a list of errors [1]. And it is not possible to handle this error without strings.Contains or whatsoever.
When a user blocks the bot, every message being sent to him is facing
403: Blocked by user.
That's ok.However, when you compose a message with exactly two photos and a one emoji as caption, then send it to a user, the very error message
400 "USER_IS_BLOCKED"
is returned. So, it is not in a list of errors [1]. And it is not possible to handle this error withoutstrings.Contains
or whatsoever.1: https://github.com/tucnak/telebot/blob/v3/errors.go
The text was updated successfully, but these errors were encountered: