sinch.domains.sms.models.v1.shared.mo_media_message module

class sinch.domains.sms.models.v1.shared.mo_media_message.MOMediaMessage(
*,
from_: Annotated[str, Strict(strict=True)],
id: Annotated[str, Strict(strict=True)],
received_at: datetime,
to: Annotated[str, Strict(strict=True)],
client_reference: Annotated[str, Strict(strict=True)] | None = None,
operator_id: Annotated[str, Strict(strict=True)] | None = None,
sent_at: datetime | None = None,
body: MOMediaBody,
type: Literal['mo_media'],
**extra_data: Any,
)[source]

Bases: BaseMOMessage

Parameters:
  • from_ (Annotated[str, Strict(strict=True)])

  • id (Annotated[str, Strict(strict=True)])

  • received_at (datetime)

  • to (Annotated[str, Strict(strict=True)])

  • client_reference (Annotated[str, Strict(strict=True)] | None)

  • operator_id (Annotated[str, Strict(strict=True)] | None)

  • sent_at (datetime | None)

  • body (MOMediaBody)

  • type (Literal['mo_media'])

  • extra_data (Any)

body: MOMediaBody
type: Literal['mo_media']
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].