def channels_messages_list(self, channel, around=None, before=None, after=None, limit=50): r = self.http(Routes.CHANNELS_MESSAGES_LIST, dict(channel=channel), params=optional( around=around, before=before, after=after, limit=limit )) return Message.create_map(self.client, r.json())
def channels_pins_list(self, channel): r = self.http(Routes.CHANNELS_PINS_LIST, dict(channel=channel)) return Message.create_map(self.client, r.json())