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