/// <summary> /// Initializes a new instance of the <see cref="MessageContent" /> class. /// </summary> /// <param name="ContentType">Type of this content element. (required).</param> /// <param name="Location">Location content..</param> /// <param name="Attachment">Attachment content..</param> /// <param name="QuickReply">Quick reply content..</param> /// <param name="ButtonResponse">Button response content..</param> /// <param name="Generic">Generic content (Deprecated)..</param> /// <param name="List">List content (Deprecated)..</param> /// <param name="Template">Template notification content..</param> /// <param name="Reactions">A set of reactions to a message..</param> /// <param name="Mention">Mention content..</param> /// <param name="Postback">Structured message postback (Deprecated)..</param> /// <param name="Story">Ephemeral story content..</param> /// <param name="Card">Card content.</param> /// <param name="Carousel">Carousel content.</param> public MessageContent(ContentTypeEnum?ContentType = null, ContentLocation Location = null, ContentAttachment Attachment = null, ContentQuickReply QuickReply = null, ContentButtonResponse ButtonResponse = null, ContentGeneric Generic = null, ContentList List = null, ContentNotificationTemplate Template = null, List <ContentReaction> Reactions = null, MessagingRecipient Mention = null, ContentPostback Postback = null, ContentStory Story = null, ContentCard Card = null, ContentCarousel Carousel = null) { this.ContentType = ContentType; this.Location = Location; this.Attachment = Attachment; this.QuickReply = QuickReply; this.ButtonResponse = ButtonResponse; this.Generic = Generic; this.List = List; this.Template = Template; this.Reactions = Reactions; this.Mention = Mention; this.Postback = Postback; this.Story = Story; this.Card = Card; this.Carousel = Carousel; }
/// <summary> /// Initializes a new instance of the <see cref="WebMessagingContent" /> class. /// </summary> /// <param name="QuickReply">Quick reply content..</param> /// <param name="ButtonResponse">Button response content..</param> /// <param name="Generic">Generic content (Deprecated)..</param> /// <param name="Card">Card content.</param> /// <param name="Carousel">Carousel content.</param> public WebMessagingContent(WebMessagingQuickReply QuickReply = null, WebMessagingButtonResponse ButtonResponse = null, WebMessagingGeneric Generic = null, ContentCard Card = null, ContentCarousel Carousel = null) { this.QuickReply = QuickReply; this.ButtonResponse = ButtonResponse; this.Generic = Generic; this.Card = Card; this.Carousel = Carousel; }