sinch.domains.conversation.models.v1.sinch_events.events.message_submit_notification module
- class sinch.domains.conversation.models.v1.sinch_events.events.message_submit_notification.MessageSubmitNotification(
- *,
- message_id: Annotated[str, Strict(strict=True)] | None = None,
- conversation_id: Annotated[str, Strict(strict=True)] | None = None,
- channel_identity: ChannelIdentity | None = None,
- contact_id: Annotated[str, Strict(strict=True)] | None = None,
- submitted_message: CardAppMessage | CarouselAppMessage | ChoiceAppMessage | ContactInfoAppMessage | ListAppMessage | LocationAppMessage | MediaAppMessage | TemplateAppMessage | TextAppMessage | None = None,
- metadata: Annotated[str, Strict(strict=True)] | None = None,
- processing_mode: Literal['CONVERSATION', 'DISPATCH'] | Annotated[str, Strict(strict=True)] | None = None,
- **extra_data: Any,
Bases:
SinchEventNotification that an app message was submitted (MESSAGE_SUBMIT trigger).
- Parameters:
message_id (Annotated[str, Strict(strict=True)] | None)
conversation_id (Annotated[str, Strict(strict=True)] | None)
channel_identity (ChannelIdentity | None)
contact_id (Annotated[str, Strict(strict=True)] | None)
submitted_message (CardAppMessage | CarouselAppMessage | ChoiceAppMessage | ContactInfoAppMessage | ListAppMessage | LocationAppMessage | MediaAppMessage | TemplateAppMessage | TextAppMessage | None)
metadata (Annotated[str, Strict(strict=True)] | None)
processing_mode (Literal['CONVERSATION', 'DISPATCH'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)
extra_data (Any)
- message_id: Annotated[str, Strict(strict=True)] | None
- conversation_id: Annotated[str, Strict(strict=True)] | None
- channel_identity: ChannelIdentity | None
- contact_id: Annotated[str, Strict(strict=True)] | None
- submitted_message: CardAppMessage | CarouselAppMessage | ChoiceAppMessage | ContactInfoAppMessage | ListAppMessage | LocationAppMessage | MediaAppMessage | TemplateAppMessage | TextAppMessage | None
- metadata: Annotated[str, Strict(strict=True)] | None
- processing_mode: Literal['CONVERSATION', 'DISPATCH'] | Annotated[str, Strict(strict=True)] | 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].