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: Annotated[list[KakaoTalkWebLinkButton | KakaoTalkAppLinkButton | KakaoTalkBotKeywordButton], Len(min_length=0, max_length=None)],
additional_content: Annotated[Annotated[str, Strict(strict=True)] | None, MaxLen(max_length=34)] = None,
image: KakaoTalkCommerceImage,
commerce: KakaoTalkRegularPriceCommerce | KakaoTalkDiscountFixedCommerce | KakaoTalkDiscountRateCommerce,
coupon: Annotated[KakaoTalkFixedDiscountCoupon | KakaoTalkDiscountRateCoupon | KakaoTalkShippingDiscountCoupon | KakaoTalkFreeCoupon | KakaoTalkUpCoupon, FieldInfo(annotation=NoneType, required=True, discriminator='type')] | None = None,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
buttons: Annotated[list[KakaoTalkWebLinkButton | KakaoTalkAppLinkButton | KakaoTalkBotKeywordButton], Len(min_length=0, max_length=None)]
additional_content: Annotated[str, Strict(strict=True)] | None
image: KakaoTalkCommerceImage
commerce: KakaoTalkRegularPriceCommerce | KakaoTalkDiscountFixedCommerce | KakaoTalkDiscountRateCommerce
coupon: Annotated[KakaoTalkFixedDiscountCoupon | KakaoTalkDiscountRateCoupon | KakaoTalkShippingDiscountCoupon | KakaoTalkFreeCoupon | KakaoTalkUpCoupon, FieldInfo(annotation=NoneType, required=True, discriminator='type')] | 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].