def process_channel_post(bot, chains, update):
    """Process a channel post"""
    for hook in chains['channel_post']:
        bot.logger.debug(
            'Processing channel post in update #%s with the hook %s...' % (
            update.update_id, hook.name))
        result = hook.call(bot, update)
        if result is True:
            bot.logger.debug('Update %s was just processed by the %s hook.' %
                (update.update_id, hook.name))
            return
    bot.logger.debug('No hook actually processed the #%s update.' % update.
        update_id)
