add comment property/setter to the signable support class

This commit is contained in:
Victor Shyba 2021-05-31 17:57:32 -03:00 committed by Lex Berezhny
parent 45a9ca29c4
commit 82f4267bf6

View file

@ -13,3 +13,11 @@ class Support(Signable):
@emoji.setter @emoji.setter
def emoji(self, emoji: str): def emoji(self, emoji: str):
self.message.emoji = emoji self.message.emoji = emoji
@property
def comment(self) -> str:
return self.message.comment
@comment.setter
def comment(self, comment: str):
self.message.comment = comment