mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 10:11:52 +00:00
Add PhotoAsInputFileRequired exception. // Photo should be uploaded as an InputFile
This commit is contained in:
parent
b808c48789
commit
f0de1c5761
2 changed files with 6 additions and 0 deletions
|
|
@ -130,6 +130,10 @@ class GroupDeactivated(BadRequest, _MatchErrorMixin):
|
|||
match = 'group is deactivated'
|
||||
|
||||
|
||||
class PhotoAsInputFileRequired(BadRequest, _MatchErrorMixin):
|
||||
match = 'Photo should be uploaded as an InputFile'
|
||||
|
||||
|
||||
class BadWebhook(BadRequest):
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue