sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.flows.flow_channel_specific_message module
- class sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.flows.flow_channel_specific_message.FlowChannelSpecificMessage(*, header: ~typing.Annotated[~sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.flows.whatsapp_interactive_text_header.WhatsAppInteractiveTextHeader | ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.flows.whatsapp_interactive_image_header.WhatsAppInteractiveImageHeader | ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.flows.whatsapp_interactive_document_header.WhatsAppInteractiveDocumentHeader | ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.flows.whatsapp_interactive_video_header.WhatsAppInteractiveVideoHeader, <sinch.core.models.internal.unions.ResolveUnion object at 0x7fe3f4b04f10>] | None = None, body: ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.flows.whatsapp_interactive_body.WhatsAppInteractiveBody | None = None, footer: ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.flows.whatsapp_interactive_footer.WhatsAppInteractiveFooter | None = None, flow_id: ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)], flow_cta: ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)], flow_token: ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None = None, flow_mode: ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None = 'published', flow_action: ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None = 'navigate', flow_action_payload: ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.whatsapp.flows.flow_action_payload.FlowActionPayload | None = None, **extra_data: ~typing.Any)[source]
Bases:
WhatsAppCommonProps- Parameters:
header (Annotated[WhatsAppInteractiveTextHeader | WhatsAppInteractiveImageHeader | WhatsAppInteractiveDocumentHeader | WhatsAppInteractiveVideoHeader, <sinch.core.models.internal.unions.ResolveUnion object at 0x7fe3f4b04f10>] | None)
body (WhatsAppInteractiveBody | None)
footer (WhatsAppInteractiveFooter | None)
flow_id (Annotated[str, Strict(strict=True)])
flow_cta (Annotated[str, Strict(strict=True)])
flow_token (Annotated[str, Strict(strict=True)] | None)
flow_mode (Annotated[str, Strict(strict=True)] | None)
flow_action (Annotated[str, Strict(strict=True)] | None)
flow_action_payload (FlowActionPayload | None)
extra_data (Any)
- flow_id: Annotated[str, Strict(strict=True)]
- flow_cta: Annotated[str, Strict(strict=True)]
- flow_token: Annotated[str, Strict(strict=True)] | None
- flow_mode: Annotated[str, Strict(strict=True)] | None
- flow_action: Annotated[str, Strict(strict=True)] | None
- flow_action_payload: FlowActionPayload | None
- model_config = {'extra': 'allow', 'populate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_post_init(
- _SnakifyExtrasOnInit__context: Any,
Marks applied non-
Nonedefaults as set.- Parameters:
_SnakifyExtrasOnInit__context (Any)
- Return type:
None