sinch.domains.conversation.models.v1.messages.categories.channelspecific.kakaotalk.commerce.kakaotalk_commerce_message module
- class sinch.domains.conversation.models.v1.messages.categories.channelspecific.kakaotalk.commerce.kakaotalk_commerce_message.KakaoTalkCommerceMessage(*, buttons: ~typing.Annotated[list[~typing.Annotated[~sinch.domains.conversation.models.v1.messages.categories.channelspecific.kakaotalk.buttons.kakaotalk_web_link_button.KakaoTalkWebLinkButton | ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.kakaotalk.buttons.kakaotalk_app_link_button.KakaoTalkAppLinkButton | ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.kakaotalk.buttons.kakaotalk_bot_keyword_button.KakaoTalkBotKeywordButton, <sinch.core.models.internal.unions.ResolveUnion object at 0x7fe3f4c8c510>]], ~annotated_types.Len(min_length=0, max_length=None)], additional_content: ~typing.Annotated[~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None, ~annotated_types.MaxLen(max_length=34)] = None, image: ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.kakaotalk.commerce.kakaotalk_commerce_image.KakaoTalkCommerceImage, commerce: ~typing.Annotated[~sinch.domains.conversation.models.v1.messages.categories.channelspecific.kakaotalk.commerce.kakaotalk_regular_price_commerce.KakaoTalkRegularPriceCommerce | ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.kakaotalk.commerce.kakaotalk_discount_fixed_commerce.KakaoTalkDiscountFixedCommerce | ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.kakaotalk.commerce.kakaotalk_discount_rate_commerce.KakaoTalkDiscountRateCommerce, <sinch.core.models.internal.unions.ResolveUnion object at 0x7fe3f4c957d0>], coupon: ~typing.Annotated[~sinch.domains.conversation.models.v1.messages.categories.channelspecific.kakaotalk.coupons.kakaotalk_fixed_discount_coupon.KakaoTalkFixedDiscountCoupon | ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.kakaotalk.coupons.kakaotalk_discount_rate_coupon.KakaoTalkDiscountRateCoupon | ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.kakaotalk.coupons.kakaotalk_shipping_discount_coupon.KakaoTalkShippingDiscountCoupon | ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.kakaotalk.coupons.kakaotalk_free_coupon.KakaoTalkFreeCoupon | ~sinch.domains.conversation.models.v1.messages.categories.channelspecific.kakaotalk.coupons.kakaotalk_up_coupon.KakaoTalkUpCoupon, <sinch.core.models.internal.unions.ResolveUnion object at 0x7fe3f4c96d50>] | None = None, **extra_data: ~typing.Any)[source]
Bases:
SnakeCaseExtrasModel- Parameters:
buttons (Annotated[list[Annotated[KakaoTalkWebLinkButton | KakaoTalkAppLinkButton | KakaoTalkBotKeywordButton, <sinch.core.models.internal.unions.ResolveUnion object at 0x7fe3f4c8c510>]], Len(min_length=0, max_length=None)])
additional_content (Annotated[Annotated[str, Strict(strict=True)] | None, MaxLen(max_length=34)])
image (KakaoTalkCommerceImage)
commerce (Annotated[KakaoTalkRegularPriceCommerce | KakaoTalkDiscountFixedCommerce | KakaoTalkDiscountRateCommerce, <sinch.core.models.internal.unions.ResolveUnion object at 0x7fe3f4c957d0>])
coupon (Annotated[KakaoTalkFixedDiscountCoupon | KakaoTalkDiscountRateCoupon | KakaoTalkShippingDiscountCoupon | KakaoTalkFreeCoupon | KakaoTalkUpCoupon, <sinch.core.models.internal.unions.ResolveUnion object at 0x7fe3f4c96d50>] | None)
extra_data (Any)
- buttons: Len(min_length=0, max_length=None)]
- additional_content: Annotated[str, Strict(strict=True)] | None
- image: KakaoTalkCommerceImage
- commerce: ResolveUnion object at 0x7fe3f4c957d0>]
- coupon: ResolveUnion object at 0x7fe3f4c96d50>] | None
- model_config = {'extra': 'allow', 'populate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_post_init(
- _SnakifyExtrasOnInit__context: Any,
Marks applied non-
Nonedefaults as set.- Parameters:
_SnakifyExtrasOnInit__context (Any)
- Return type:
None