app.bsky.notification.register_push¶

class atproto_client.models.app.bsky.notification.register_push.Data¶

Bases: DataModelBase

Input data model for app.bsky.notification.registerPush.

field age_restricted: bool | None = None¶

Set to true when the actor is age restricted.

field app_id: str [Required]¶

App id.

field platform: Literal['ios'] | Literal['android'] | Literal['web'] | str [Required]¶

Platform.

field service_did: str [Required]¶

Service did.

Constraints:
field token: str [Required]¶

Token.

class atproto_client.models.app.bsky.notification.register_push.DataDict¶

Bases: TypedDict

age_restricted: typing_extensions.NotRequired[bool | None]¶

Set to true when the actor is age restricted.

app_id: str¶

App id.

platform: Literal['ios'] | Literal['android'] | Literal['web'] | str¶

Platform.

service_did: str¶

Service did.

token: str¶

Token.