Allow empty author when sending messages
This commit is contained in:
parent
1ae02d2973
commit
cd8e552191
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue