共用方式為


MessageTemplateQuickAction Class

Definition

The message template's quick action value information.

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

Constructors

MessageTemplateQuickAction(String, String, String)
MessageTemplateQuickAction(String)

Initializes a new instance of MessageTemplateQuickAction.

Properties

Name

Template binding reference name.

(Inherited from MessageTemplateValue)
Payload

The [Optional] quick action payload.

Text

The [Optional] quick action text.

Explicit Interface Implementations

IJsonModel<MessageTemplateQuickAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MessageTemplateQuickAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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)
IPersistableModel<MessageTemplateQuickAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageTemplateQuickAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MessageTemplateQuickAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

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)

Applies to