// TODO: change this card! private Attachment CreateMeetingFeedbackCard() { // TODO: replace with MeetingPurpose var satisfations = new List <CardAction>(); var satisfationsAsList = MeetingSatisfaction.GetMeetingSatisfactions(); foreach (var s in satisfationsAsList) { satisfations.Add(new CardAction("imBack", s, value: s)); } var card = new HeroCard //ThumbnailCard { Title = $"Looks like the meeting has ended (:", Subtitle = "So how was the meeting?", Buttons = satisfations }; // Create the attachment. Attachment attachment = new Attachment() { ContentType = HeroCard.ContentType, Content = card }; return(attachment); }
public bool IsSatisfation(string message) { return(MeetingSatisfaction.GetMeetingSatisfactions().Contains(message)); }