using System.Collections.Generic; using Sony.ChartBot.Entities; using Sony.ChartBot.Entities.ChartApi; using Sony.ChartBot.Entities.MessengerApi; using Sony.ChartBot.Entities.Storage; namespace Sony.ChartBot.Messages.MessageBuilders { public class NoChartPositionMessageBuilder : IMessageBuilder { public ResponseType ResponseType => ResponseType.NoChartPositionsFound; public IEnumerable BuildMessages(ChartTrackModel data) { var text = $"Sorry, but {data.ArtistName} doesn't seem to have any chart positions for {data.Country.EnglishName}"; return new[] { new MessageToSend { text = text } }; } } }