Added author information to message

This commit is contained in:
Felipe M 2020-08-11 13:29:24 +02:00
parent e1c158bd6c
commit 562d7138c0
Signed by: fmartingr
GPG key ID: 716BC147715E716F
4 changed files with 19 additions and 4 deletions

View file

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