hub/scribe/schema/support.py
Jack Robison dfef80d9c2
initial
2022-03-08 12:41:51 -05:00

24 lines
536 B
Python

from scribe.schema.base import Signable
from scribe.schema.types.v2.support_pb2 import Support as SupportMessage
class Support(Signable):
__slots__ = ()
message_class = SupportMessage
@property
def emoji(self) -> str:
return self.message.emoji
@emoji.setter
def emoji(self, emoji: str):
self.message.emoji = emoji
@property
def comment(self) -> str:
return self.message.comment
@comment.setter
def comment(self, comment: str):
self.message.comment = comment