sinch.domains.conversation.models.v1.messages.categories.calendar.calendar_message module

class sinch.domains.conversation.models.v1.messages.categories.calendar.calendar_message.CalendarMessage(
*,
title: Annotated[str, Strict(strict=True)],
event_start: datetime,
event_end: datetime,
event_title: Annotated[str, Strict(strict=True)],
event_description: Annotated[str, Strict(strict=True)] | None = None,
fallback_url: Annotated[str, Strict(strict=True)],
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

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

  • event_start (datetime)

  • event_end (datetime)

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

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

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

  • extra_data (Any)

title: Annotated[str, Strict(strict=True)]
event_start: datetime
event_end: datetime
event_title: Annotated[str, Strict(strict=True)]
event_description: Annotated[str, Strict(strict=True)] | None
fallback_url: Annotated[str, Strict(strict=True)]
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].