/// <summary> /// Initializes a new instance of the <see cref="ConversationNotificationTemplateHeader" /> class. /// </summary> /// <param name="Type">Template header type. (required).</param> /// <param name="Text">Header text. For WhatsApp, ignored..</param> /// <param name="Media">Media template header image..</param> /// <param name="Parameters">Template parameters for placeholders in template..</param> public ConversationNotificationTemplateHeader(TypeEnum?Type = null, string Text = null, ConversationContentAttachment Media = null, List <ConversationNotificationTemplateParameter> Parameters = null) { this.Type = Type; this.Text = Text; this.Media = Media; this.Parameters = Parameters; }
/// <summary> /// Initializes a new instance of the <see cref="ConversationMessageContent" /> class. /// </summary> /// <param name="ContentType">Type of this content element. If contentType = \"Attachment\" only one item is allowed. (required).</param> /// <param name="Location">Location content..</param> /// <param name="Story">Ephemeral story content..</param> /// <param name="Attachment">Attachment content..</param> /// <param name="QuickReply">Quick reply content..</param> /// <param name="Template">Template notification content..</param> /// <param name="ButtonResponse">Button response content..</param> /// <param name="Generic">Generic Template Object (Deprecated)..</param> /// <param name="Card">Card (Generic Template) Object.</param> /// <param name="Carousel">Carousel (Multiple Generic Template) Object.</param> public ConversationMessageContent(ContentTypeEnum?ContentType = null, ConversationContentLocation Location = null, ConversationContentStory Story = null, ConversationContentAttachment Attachment = null, ConversationContentQuickReply QuickReply = null, ConversationContentNotificationTemplate Template = null, ConversationContentButtonResponse ButtonResponse = null, ConversationContentGeneric Generic = null, ConversationContentCard Card = null, ConversationContentCarousel Carousel = null) { this.ContentType = ContentType; this.Location = Location; this.Story = Story; this.Attachment = Attachment; this.QuickReply = QuickReply; this.Template = Template; this.ButtonResponse = ButtonResponse; this.Generic = Generic; this.Card = Card; this.Carousel = Carousel; }