def METHOD_NAME():
    with patch("salt.beacons.telegram_bot_msg.telegram") as telegram_api:
        token = "abc"
        config = [{"token": token, "accept_from": ["tester"]}]
        inst = MagicMock(name="telegram.Bot()")
        telegram_api.Bot = MagicMock(name="telegram", return_value=inst)
        inst.get_updates.return_value = []
        ret = telegram_bot_msg.validate(config)
        assert ret == (True, "Valid beacon configuration.")
        ret = telegram_bot_msg.beacon(config)
        telegram_api.Bot.assert_called_once_with(token)
        assert ret == []