'Get all persistent messages sent to one channel.
Args:
channel (Channel): The channel to find messages for.
Returns:
messages (list): Persistent Msg objects saved for this channel.'

def get_messages_by_channel(self, channel):

    return self.filter(db_receivers_channels=channel).exclude(db_hide_from_channels=channel)
