WhatsAppMessageTemplateBindings Class
The template bindings for WhatsApp.
All required parameters must be populated in order to send to server.
Constructor
WhatsAppMessageTemplateBindings(*args: Any, **kwargs: Any)
Variables
Name | Description |
---|---|
kind
|
str or
<xref:azure.communication.messages.models.WHATSAPP>
MessageTemplateBindings is whatsApp. Required. The WhatsApp template type. |
header
|
The header template bindings. |
body
|
The body template bindings. |
footer
|
The footer template bindings. |
buttons
|
The button template bindings. |
Methods
as_dict |
Return a dict that can be JSONify using json.dump. |
clear | |
copy | |
get | |
items | |
keys | |
pop | |
popitem | |
setdefault | |
update | |
values |
as_dict
clear
clear() -> None
copy
copy() -> Model
get
get(key: str, default: Any = None) -> Any
Parameters
Name | Description |
---|---|
key
Required
|
|
default
Required
|
Default value: None
|
items
items() -> ItemsView[str, Any]
keys
keys() -> KeysView[str]
pop
pop(key: str, default: ~typing.Any = <object object>) -> Any
Parameters
Name | Description |
---|---|
key
Required
|
|
default
Required
|
|
popitem
popitem() -> Tuple[str, Any]
setdefault
setdefault(key: str, default: ~typing.Any = <object object>) -> Any
Parameters
Name | Description |
---|---|
key
Required
|
|
default
Required
|
|
update
update(*args: Any, **kwargs: Any) -> None
values
values() -> ValuesView[Any]
Attributes
body
The body template bindings.
body: List[_models.WhatsAppMessageTemplateBindingsComponent] | None
buttons
The button template bindings.
buttons: List[_models.WhatsAppMessageTemplateBindingsButton] | None
footer
The footer template bindings.
footer: List[_models.WhatsAppMessageTemplateBindingsComponent] | None
header
The header template bindings.
header: List[_models.WhatsAppMessageTemplateBindingsComponent] | None
kind
MessageTemplateBindings is whatsApp. Required. The WhatsApp template type.
kind: WHATSAPP: 'whatsApp'>]