Пример #1
0
 def prepare_channel_subscription(self, data):
     return (
         Channel.from_response_data(data.get('channel', {}), self.api),
         User.from_response_data(data.get('user', {}), self.api),
     )
Пример #2
0
 def prepare_channel_subscription(self, data):
     return (
         Channel.from_response_data(data.get('channel', {}), self.api),
         User.from_response_data(data.get('user', {}), self.api),
     )
Пример #3
0
 def prepare_channel(self, data):
     return (
         Channel.from_response_data(data, self.api),
     )
Пример #4
0
 def prepare_channel(self, data):
     return (Channel.from_response_data(data, self.api), )