public static async Task TurinWeatherCheck(
     [WeatherTrigger("Turin,IT", 0.1)] WeatherPayload req,
     [TwitterBinding] TwitterBinder tweetMessage,
     ILogger log)
 {
     var message = $"{req.CityName} [{req.CurrentTemperature}] at {req.Timestamp}";
     log.LogWarning(message);
     await tweetMessage.TweetAsync(message);
 }
        public static async Task TurinWeatherCheck(
            [WeatherTrigger("Turin,IT", 0.1)] WeatherPayload req,
            [TwitterBinding] TwitterBinder tweetMessage,
            ILogger log)
        {
            var tags    = Environment.GetEnvironmentVariable("Twitter.MessageHashTags");
            var message = $"[{req.CityName}] - Temperature {req.CurrentTemperature}°C at {req.Timestamp} {tags}";

            log.LogWarning(message);
            await tweetMessage.TweetAsync(message);
        }