sinch.domains.conversation.models.v1.messages.categories.channelspecific.line package

class sinch.domains.conversation.models.v1.messages.categories.channelspecific.line.LineNotificationMessageTemplateEmphasizedItem(
*,
item_key: Annotated[str, Strict(strict=True)],
content: Annotated[str, Strict(strict=True)],
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

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

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

  • extra_data (Any)

item_key: Annotated[str, Strict(strict=True)]
content: 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].

class sinch.domains.conversation.models.v1.messages.categories.channelspecific.line.LineNotificationMessageTemplateItem(
*,
item_key: Annotated[str, Strict(strict=True)],
content: Annotated[str, Strict(strict=True)],
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

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

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

  • extra_data (Any)

item_key: Annotated[str, Strict(strict=True)]
content: 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].

class sinch.domains.conversation.models.v1.messages.categories.channelspecific.line.LineNotificationMessageTemplateButton(
*,
button_key: Annotated[str, Strict(strict=True)],
url: Annotated[str, Strict(strict=True)],
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

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

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

  • extra_data (Any)

button_key: Annotated[str, Strict(strict=True)]
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].

class sinch.domains.conversation.models.v1.messages.categories.channelspecific.line.LineNotificationMessageTemplateBody(
*,
emphasized_item: LineNotificationMessageTemplateEmphasizedItem | None = None,
items: Annotated[list[LineNotificationMessageTemplateItem], Len(min_length=0, max_length=None)] | None = None,
buttons: Annotated[list[LineNotificationMessageTemplateButton], Len(min_length=0, max_length=None)] | None = None,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
emphasized_item: LineNotificationMessageTemplateEmphasizedItem | None
items: Annotated[list[LineNotificationMessageTemplateItem], Len(min_length=0, max_length=None)] | None
buttons: Annotated[list[LineNotificationMessageTemplateButton], Len(min_length=0, max_length=None)] | 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].

class sinch.domains.conversation.models.v1.messages.categories.channelspecific.line.LineNotificationMessageTemplateMessage(
*,
template_key: Annotated[str, Strict(strict=True)],
body: LineNotificationMessageTemplateBody | None = None,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
template_key: Annotated[str, Strict(strict=True)]
body: LineNotificationMessageTemplateBody | 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].