/// <summary> /// Initializes a new instance of the <see cref="ConversationContentGeneric" /> class. /// </summary> /// <param name="Title">Text to show in the title..</param> /// <param name="Description">Text to show in the description..</param> /// <param name="Image">URL of an image..</param> /// <param name="Video">URL of a video..</param> /// <param name="Actions">Actions to be taken..</param> /// <param name="Components">An array of component objects..</param> public ConversationContentGeneric(string Title = null, string Description = null, string Image = null, string Video = null, ConversationContentActions Actions = null, List <ConversationButtonComponent> Components = null) { this.Title = Title; this.Description = Description; this.Image = Image; this.Video = Video; this.Actions = Actions; this.Components = Components; }
/// <summary> /// Initializes a new instance of the <see cref="ConversationButtonComponent" /> class. /// </summary> /// <param name="Title">Text to show inside the button..</param> /// <param name="Actions">The button actions..</param> public ConversationButtonComponent(string Title = null, ConversationContentActions Actions = null) { this.Title = Title; this.Actions = Actions; }