forked from LBRYCommunity/lbry-sdk
23 lines
532 B
Python
23 lines
532 B
Python
from lbry.schema.base import Signable
|
|
from lbry.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
|