Message is too long.

This commit is contained in:
Alex Root Junior 2018-06-25 03:55:52 +03:00
parent 95ba0ae571
commit 6832e92ca2

View file

@ -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.