sinch.domains.conversation.models.v1.messages.categories.choice.choice_options module

class sinch.domains.conversation.models.v1.messages.categories.choice.choice_options.ChoiceMessageWithPostback(
*,
postback_data: Any | None = None,
display_mode: Literal['DISPLAY_MODE_UNSPECIFIED', 'PERSISTENT'] | Annotated[str, Strict(strict=True)] | None = None,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
  • postback_data (Any | None)

  • display_mode (Literal['DISPLAY_MODE_UNSPECIFIED', 'PERSISTENT'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)

  • extra_data (Any)

postback_data: Any | None
display_mode: Literal['DISPLAY_MODE_UNSPECIFIED', 'PERSISTENT'] | 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].

model_post_init(
_SnakifyExtrasOnInit__context: Any,
) None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None

class sinch.domains.conversation.models.v1.messages.categories.choice.choice_options.CallChoiceMessage(
*,
postback_data: Any | None = None,
display_mode: Literal['DISPLAY_MODE_UNSPECIFIED', 'PERSISTENT'] | Annotated[str, Strict(strict=True)] | None = None,
call_message: CallMessage | None = None,
**extra_data: Any,
)[source]

Bases: ChoiceMessageWithPostback

Parameters:
  • postback_data (Any | None)

  • display_mode (Literal['DISPLAY_MODE_UNSPECIFIED', 'PERSISTENT'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)

  • call_message (CallMessage | None)

  • extra_data (Any)

call_message: CallMessage | 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].

model_post_init(_SnakifyExtrasOnInit__context: Any) None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None

class sinch.domains.conversation.models.v1.messages.categories.choice.choice_options.LocationChoiceMessage(
*,
postback_data: Any | None = None,
display_mode: Literal['DISPLAY_MODE_UNSPECIFIED', 'PERSISTENT'] | Annotated[str, Strict(strict=True)] | None = None,
location_message: LocationMessage | None = None,
**extra_data: Any,
)[source]

Bases: ChoiceMessageWithPostback

Parameters:
  • postback_data (Any | None)

  • display_mode (Literal['DISPLAY_MODE_UNSPECIFIED', 'PERSISTENT'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)

  • location_message (LocationMessage | None)

  • extra_data (Any)

location_message: LocationMessage | 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].

model_post_init(
_SnakifyExtrasOnInit__context: Any,
) None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None

class sinch.domains.conversation.models.v1.messages.categories.choice.choice_options.TextChoiceMessage(
*,
postback_data: Any | None = None,
display_mode: Literal['DISPLAY_MODE_UNSPECIFIED', 'PERSISTENT'] | Annotated[str, Strict(strict=True)] | None = None,
text_message: TextMessage | None = None,
**extra_data: Any,
)[source]

Bases: ChoiceMessageWithPostback

Parameters:
  • postback_data (Any | None)

  • display_mode (Literal['DISPLAY_MODE_UNSPECIFIED', 'PERSISTENT'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)

  • text_message (TextMessage | None)

  • extra_data (Any)

text_message: TextMessage | 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].

model_post_init(_SnakifyExtrasOnInit__context: Any) None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None

class sinch.domains.conversation.models.v1.messages.categories.choice.choice_options.UrlChoiceMessage(
*,
postback_data: Any | None = None,
display_mode: Literal['DISPLAY_MODE_UNSPECIFIED', 'PERSISTENT'] | Annotated[str, Strict(strict=True)] | None = None,
url_message: UrlMessage | None = None,
**extra_data: Any,
)[source]

Bases: ChoiceMessageWithPostback

Parameters:
  • postback_data (Any | None)

  • display_mode (Literal['DISPLAY_MODE_UNSPECIFIED', 'PERSISTENT'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)

  • url_message (UrlMessage | None)

  • extra_data (Any)

url_message: UrlMessage | 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].

model_post_init(_SnakifyExtrasOnInit__context: Any) None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None

class sinch.domains.conversation.models.v1.messages.categories.choice.choice_options.CalendarChoiceMessage(
*,
postback_data: Any | None = None,
display_mode: Literal['DISPLAY_MODE_UNSPECIFIED', 'PERSISTENT'] | Annotated[str, Strict(strict=True)] | None = None,
calendar_message: CalendarMessage | None = None,
**extra_data: Any,
)[source]

Bases: ChoiceMessageWithPostback

Parameters:
  • postback_data (Any | None)

  • display_mode (Literal['DISPLAY_MODE_UNSPECIFIED', 'PERSISTENT'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)

  • calendar_message (CalendarMessage | None)

  • extra_data (Any)

calendar_message: CalendarMessage | 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].

model_post_init(
_SnakifyExtrasOnInit__context: Any,
) None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None

class sinch.domains.conversation.models.v1.messages.categories.choice.choice_options.ShareLocationChoiceMessage(
*,
postback_data: Any | None = None,
display_mode: Literal['DISPLAY_MODE_UNSPECIFIED', 'PERSISTENT'] | Annotated[str, Strict(strict=True)] | None = None,
share_location_message: ShareLocationMessage | None = None,
**extra_data: Any,
)[source]

Bases: ChoiceMessageWithPostback

Parameters:
  • postback_data (Any | None)

  • display_mode (Literal['DISPLAY_MODE_UNSPECIFIED', 'PERSISTENT'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)

  • share_location_message (ShareLocationMessage | None)

  • extra_data (Any)

share_location_message: ShareLocationMessage | 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].

model_post_init(
_SnakifyExtrasOnInit__context: Any,
) None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None