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,
- **extra_data: Any,
Bases:
SnakeCaseExtrasModel- Parameters:
postback_data (Any | None)
extra_data (Any)
- postback_data: Any | 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.choice.choice_options.CallChoiceMessage(
- *,
- postback_data: Any | None = None,
- call_message: CallMessage | None = None,
- **extra_data: Any,
Bases:
ChoiceMessageWithPostback- Parameters:
postback_data (Any | 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].
- class sinch.domains.conversation.models.v1.messages.categories.choice.choice_options.LocationChoiceMessage(
- *,
- postback_data: Any | None = None,
- location_message: LocationMessage | None = None,
- **extra_data: Any,
Bases:
ChoiceMessageWithPostback- Parameters:
postback_data (Any | 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].
- class sinch.domains.conversation.models.v1.messages.categories.choice.choice_options.TextChoiceMessage(
- *,
- postback_data: Any | None = None,
- text_message: TextMessage | None = None,
- **extra_data: Any,
Bases:
ChoiceMessageWithPostback- Parameters:
postback_data (Any | 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].
- class sinch.domains.conversation.models.v1.messages.categories.choice.choice_options.UrlChoiceMessage(
- *,
- postback_data: Any | None = None,
- url_message: UrlMessage | None = None,
- **extra_data: Any,
Bases:
ChoiceMessageWithPostback- Parameters:
postback_data (Any | 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].
- class sinch.domains.conversation.models.v1.messages.categories.choice.choice_options.CalendarChoiceMessage(
- *,
- postback_data: Any | None = None,
- calendar_message: CalendarMessage | None = None,
- **extra_data: Any,
Bases:
ChoiceMessageWithPostback- Parameters:
postback_data (Any | 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].
- *,
- postback_data: Any | None = None,
- share_location_message: ShareLocationMessage | None = None,
- **extra_data: Any,
Bases:
ChoiceMessageWithPostback- Parameters:
postback_data (Any | None)
share_location_message (ShareLocationMessage | None)
extra_data (Any)
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].