sinch.domains.conversation.models.v1.events.types package

class sinch.domains.conversation.models.v1.events.types.AgentDict[source]

Bases: TypedDict

display_name: NotRequired[str]
type: NotRequired[Literal['UNKNOWN_AGENT_TYPE', 'HUMAN', 'BOT'] | Annotated[str, Strict(strict=True)]]
picture_url: NotRequired[str]
class sinch.domains.conversation.models.v1.events.types.AgentEventDict[source]

Bases: TypedDict

agent: AgentDict
class sinch.domains.conversation.models.v1.events.types.AppEventDict[source]

Bases: TypedDict

composing_event: NotRequired[Dict[str, Any]]
composing_end_event: NotRequired[Dict[str, Any]]
read_message_event: NotRequired[Dict[str, Any]]
comment_reply_event: NotRequired[CommentReplyEventDict]
agent_joined_event: NotRequired[AgentEventDict]
agent_left_event: NotRequired[AgentEventDict]
generic_event: NotRequired[GenericEventDict]
class sinch.domains.conversation.models.v1.events.types.CommentReplyEventDict[source]

Bases: TypedDict

text: str
class sinch.domains.conversation.models.v1.events.types.GenericEventDict[source]

Bases: TypedDict

payload: Dict[str, Any]