sinch.domains.conversation.models.v1.sinch_events.capability.capability_notification module

class sinch.domains.conversation.models.v1.sinch_events.capability.capability_notification.CapabilityNotification(
*,
request_id: Annotated[str, Strict(strict=True)] | None = None,
contact_id: Annotated[str, Strict(strict=True)] | None = None,
channel: Literal['WHATSAPP', 'RCS', 'SMS', 'MESSENGER', 'VIBERBM', 'MMS', 'INSTAGRAM', 'TELEGRAM', 'KAKAOTALK', 'KAKAOTALKCHAT', 'LINE', 'WECHAT', 'APPLEBC'] | Annotated[str, Strict(strict=True)] | None = None,
identity: Annotated[str, Strict(strict=True)] | None = None,
capability_status: Literal['CAPABILITY_UNKNOWN', 'CAPABILITY_FULL', 'CAPABILITY_PARTIAL', 'NO_CAPABILITY'] | Annotated[str, Strict(strict=True)] | None = None,
channel_capabilities: Annotated[list[Annotated[str, Strict(strict=True)]], Len(min_length=0, max_length=None)] | None = None,
reason: Reason | None = None,
**extra_data: Any,
)[source]

Bases: SinchEvent

Parameters:
  • request_id (Annotated[str, Strict(strict=True)] | None)

  • contact_id (Annotated[str, Strict(strict=True)] | None)

  • channel (Literal['WHATSAPP', 'RCS', 'SMS', 'MESSENGER', 'VIBERBM', 'MMS', 'INSTAGRAM', 'TELEGRAM', 'KAKAOTALK', 'KAKAOTALKCHAT', 'LINE', 'WECHAT', 'APPLEBC'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)

  • identity (Annotated[str, Strict(strict=True)] | None)

  • capability_status (Literal['CAPABILITY_UNKNOWN', 'CAPABILITY_FULL', 'CAPABILITY_PARTIAL', 'NO_CAPABILITY'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)

  • channel_capabilities (Annotated[list[Annotated[str, Strict(strict=True)]], Len(min_length=0, max_length=None)] | None)

  • reason (Reason | None)

  • extra_data (Any)

request_id: Annotated[str, Strict(strict=True)] | None
contact_id: Annotated[str, Strict(strict=True)] | None
channel: Literal['WHATSAPP', 'RCS', 'SMS', 'MESSENGER', 'VIBERBM', 'MMS', 'INSTAGRAM', 'TELEGRAM', 'KAKAOTALK', 'KAKAOTALKCHAT', 'LINE', 'WECHAT', 'APPLEBC'] | Annotated[str, Strict(strict=True)] | None
identity: Annotated[str, Strict(strict=True)] | None
capability_status: Literal['CAPABILITY_UNKNOWN', 'CAPABILITY_FULL', 'CAPABILITY_PARTIAL', 'NO_CAPABILITY'] | Annotated[str, Strict(strict=True)] | None
channel_capabilities: Annotated[list[Annotated[str, Strict(strict=True)]], Len(min_length=0, max_length=None)] | None
reason: Reason | 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,
) → None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None