lbry-sdk/lbry/schema/support.py

16 lines
354 B
Python
Raw Normal View History

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