Creates a MessageCard instance.
An example of a twitter styled card that can be used as a message
const card = new MessageCard("Random Tweet", "Title", "Some text");card.themeColor = "0078D7";const sectionOne = new MessageCardSection("**Elon Musk**");sectionOne.activitySubtitle = "@elonmusk - 9/12/2016 at 5:33pm";sectionOne.activityText = "Climate change explained in comic book form by xkcd xkcd.com/1732";sectionOne.activityImage = "https://pbs.twimg.com/profile_images/782474226020200448/zDo-gAo0.jpg";const sections: MessageCardSection[] = [sectionOne];card.sections = sections; Copy
const card = new MessageCard("Random Tweet", "Title", "Some text");card.themeColor = "0078D7";const sectionOne = new MessageCardSection("**Elon Musk**");sectionOne.activitySubtitle = "@elonmusk - 9/12/2016 at 5:33pm";sectionOne.activityText = "Climate change explained in comic book form by xkcd xkcd.com/1732";sectionOne.activityImage = "https://pbs.twimg.com/profile_images/782474226020200448/zDo-gAo0.jpg";const sections: MessageCardSection[] = [sectionOne];card.sections = sections;
Readonly
Optional
Generated using TypeDoc
Description
Creates a MessageCard instance.
Example
An example of a twitter styled card that can be used as a message