Share via


LinkContent Class

Definition

The message content of type Url information.

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

Constructors

LinkContent(String, Uri)

Initializes a new instance of LinkContent.

Properties

Title

Title of the url content.

Uri

The url in the content.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<LinkContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LinkContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<MessageContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from MessageContent)
IPersistableModel<LinkContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LinkContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LinkContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<MessageContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from MessageContent)

Applies to