lbry-sdk/lbry/schema/support.py

16 lines
354 B
Python
Raw Normal View History

2019-06-20 20:55:47 -04:00
from lbry.schema.base import Signable
2020-06-05 15:19:14 -04:00
from lbry.schema.types.v2.support_pb2 import Support as SupportMessage
2019-03-20 01:46:23 -04:00
class Support(Signable):
__slots__ = ()
2020-06-05 15:19:14 -04:00
message_class = SupportMessage
@property
def emoji(self) -> str:
return self.message.emoji
@emoji.setter
def emoji(self, emoji: str):
self.message.emoji = emoji