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: Annotated[WhatsAppInteractiveTextHeader | WhatsAppInteractiveImageHeader | WhatsAppInteractiveDocumentHeader | WhatsAppInteractiveVideoHeader, FieldInfo(annotation=NoneType, required=True, discriminator='type')] | None = None,
- body: WhatsAppInteractiveBody | None = None,
- footer: WhatsAppInteractiveFooter | None = None,
- flow_id: Annotated[str, Strict(strict=True)],
- flow_cta: Annotated[str, Strict(strict=True)],
- flow_token: Annotated[str, Strict(strict=True)] | None = None,
- flow_mode: Annotated[str, Strict(strict=True)] | None = 'published',
- flow_action: Annotated[str, Strict(strict=True)] | None = 'navigate',
- flow_action_payload: FlowActionPayload | None = None,
- **extra_data: Any,
Bases:
WhatsAppCommonProps- Parameters:
header (Annotated[WhatsAppInteractiveTextHeader | WhatsAppInteractiveImageHeader | WhatsAppInteractiveDocumentHeader | WhatsAppInteractiveVideoHeader, FieldInfo(annotation=NoneType, required=True, discriminator='type')] | 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, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].