/// <summary> /// Initializes a new instance of the <see cref="RecordingButtonComponent" /> class. /// </summary> /// <param name="Title">Title.</param> /// <param name="Actions">Actions.</param> /// <param name="IsSelected">IsSelected.</param> public RecordingButtonComponent(string Title = null, RecordingContentActions Actions = null, bool?IsSelected = null) { this.Title = Title; this.Actions = Actions; this.IsSelected = IsSelected; }
/// <summary> /// Initializes a new instance of the <see cref="GenericTemplate" /> class. /// </summary> /// <param name="Title">Text to show in the title..</param> /// <param name="Description">Text to show in the description..</param> /// <param name="Url">URL of an image..</param> /// <param name="Components">List of button components offered with this message content..</param> /// <param name="Actions">Actions to be taken..</param> public GenericTemplate(string Title = null, string Description = null, string Url = null, List <RecordingButtonComponent> Components = null, RecordingContentActions Actions = null) { this.Title = Title; this.Description = Description; this.Url = Url; this.Components = Components; this.Actions = Actions; }