Share via


ButtonSetContent Class

Definition

The message content of type ButtonSet/ List of buttons information.

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

Constructors

ButtonSetContent(IEnumerable<ButtonContent>)

Initializes a new instance of ButtonSetContent.

Properties

Buttons

Unique Id of the button content.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ButtonSetContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ButtonSetContent>.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<ButtonSetContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ButtonSetContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ButtonSetContent>.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