Share via


MessageTemplateVideo Class

Definition

The message template's video value information.

public class MessageTemplateVideo : Azure.Communication.Messages.MessageTemplateValue, System.ClientModel.Primitives.IJsonModel<Azure.Communication.Messages.MessageTemplateVideo>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.Messages.MessageTemplateVideo>
public class MessageTemplateVideo : Azure.Communication.Messages.MessageTemplateValue
type MessageTemplateVideo = class
    inherit MessageTemplateValue
    interface IJsonModel<MessageTemplateVideo>
    interface IPersistableModel<MessageTemplateVideo>
type MessageTemplateVideo = class
    inherit MessageTemplateValue
Public Class MessageTemplateVideo
Inherits MessageTemplateValue
Implements IJsonModel(Of MessageTemplateVideo), IPersistableModel(Of MessageTemplateVideo)
Public Class MessageTemplateVideo
Inherits MessageTemplateValue
Inheritance
MessageTemplateVideo
Implements

Constructors

MessageTemplateVideo(String, Uri, String, String)
MessageTemplateVideo(String, Uri)

Initializes a new instance of MessageTemplateVideo.

Properties

Caption

The [optional] caption of the media object.

FileName

The [optional] filename of the media file.

Name

Template binding reference name.

(Inherited from MessageTemplateValue)
Uri

The (public) URL of the media.

Explicit Interface Implementations

IJsonModel<MessageTemplateValue>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from MessageTemplateValue)
IJsonModel<MessageTemplateValue>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from MessageTemplateValue)
IJsonModel<MessageTemplateVideo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MessageTemplateVideo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MessageTemplateValue>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from MessageTemplateValue)
IPersistableModel<MessageTemplateValue>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from MessageTemplateValue)
IPersistableModel<MessageTemplateValue>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from MessageTemplateValue)
IPersistableModel<MessageTemplateVideo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageTemplateVideo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MessageTemplateVideo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to