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 ConfirmUnsubscribeMessageBuilder : IMessageBuilder { public ResponseType ResponseType => ResponseType.Succeeded; public IEnumerable BuildMessages(ChartTrackModel data) { var text = $"OK! You are no longer subscribing to {data.TrackName} by {data.ArtistName}."; return new[] { new MessageToSend { text = text } }; } } }