Allow empty author when sending messages

This commit is contained in:
Felipe M 2020-08-11 13:52:04 +02:00
parent 1ae02d2973
commit cd8e552191
Signed by: fmartingr
GPG Key ID: 716BC147715E716F
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ from typing import Text, Optional
class Message:
text: Text
chat: Text
author: Text
author: Text = None
from_bot: bool = False
date: Optional[datetime] = None
id: Optional[Text] = None