Share via


ActionBindings Class

Definition

Binding actions to the interactive message. Please note ActionBindings is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include WhatsAppButtonActionBindings, WhatsAppListActionBindings and WhatsAppUrlActionBindings.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Communication.Messages.UnknownActionBindings))]
public abstract class ActionBindings : System.ClientModel.Primitives.IJsonModel<Azure.Communication.Messages.ActionBindings>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.Messages.ActionBindings>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Communication.Messages.UnknownActionBindings))>]
type ActionBindings = class
    interface IJsonModel<ActionBindings>
    interface IPersistableModel<ActionBindings>
Public MustInherit Class ActionBindings
Implements IJsonModel(Of ActionBindings), IPersistableModel(Of ActionBindings)
Inheritance
ActionBindings
Derived
Attributes
Implements

Constructors

ActionBindings()

Initializes a new instance of ActionBindings.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ActionBindings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ActionBindings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ActionBindings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ActionBindings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ActionBindings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to