def METHOD_NAME(bot: Text, **kwargs):
    kwargs['bot'] = bot
    for settings in MessageBroadcastSettings.objects(**kwargs):
        settings = settings.to_mongo().to_dict()
        settings['_id'] = settings['_id'].__str__()
        yield settings