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:
|
class Message:
|
||||||
text: Text
|
text: Text
|
||||||
chat: Text
|
chat: Text
|
||||||
author: Text
|
author: Text = None
|
||||||
from_bot: bool = False
|
from_bot: bool = False
|
||||||
date: Optional[datetime] = None
|
date: Optional[datetime] = None
|
||||||
id: Optional[Text] = None
|
id: Optional[Text] = None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue