Element Class

Definition

Represents an element of a template message.

public class Element
type Element = class
Public Class Element
Inheritance
Element

Constructors

Element()

Properties

Buttons

Gets a list of buttons for the element.

DefaultAction

Gets or sets the default action for the element.

ImageUrl

Gets or sets the URL of the image.

MediaType

Gets or sets the type of the media element.

Subtitle

Gets or sets the subtitle text of the element.

Title

Gets or sets the title of the element.

Url

Gets or sets the URL of the media element.

Methods

ShouldSerializeButtons()

Newtonsoft JSON method for conditionally serializing the Buttons property.

Applies to