mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Message is too long.
This commit is contained in:
parent
95ba0ae571
commit
6832e92ca2
1 changed files with 4 additions and 0 deletions
|
|
@ -164,6 +164,10 @@ class MessageTextIsEmpty(MessageError):
|
|||
match = 'Message text is empty'
|
||||
|
||||
|
||||
class MessageIsTooLong(MessageError):
|
||||
match = 'message is too long'
|
||||
|
||||
|
||||
class ToMuchMessages(MessageError):
|
||||
"""
|
||||
Will be raised when you try to send media group with more than 10 items.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue