using System.Collections.Generic; using Sony.ChartBot.Entities.MessengerApi; using Sony.ChartBot.Entities.Storage; namespace Sony.ChartBot.Messages.MessageBuilders { public class InvalidCountryMessageBuilder : IMessageBuilder { public ResponseType ResponseType => ResponseType.FailedInterpretation; public IEnumerable BuildMessages(string countryName) { var text = $"I think you are trying to get chart positions for the country {countryName}, but I don't know that country. " + "Could you try writing the name differently?"; return new[] { new MessageToSend { text = text } }; } } }