using System.Collections.Generic; using Sony.ChartBot.Entities; using Sony.ChartBot.Entities.MessengerApi; using Sony.ChartBot.Entities.Storage; namespace Sony.ChartBot.Messages.MessageBuilders { public class ConfirmSubscriptionMessageBuilder : IMessageBuilder { public ResponseType ResponseType => ResponseType.Succeeded; public IEnumerable BuildMessages(ChartTrackModel data) { var text = $"Confirmed! You are now subscribing to {data.TrackName} by {data.ArtistName}. I will send you updates every morning at 8 am CET."; return new[] { new MessageToSend { text = text } }; } } }