app.bsky.notification.registerPush

Register to receive push notifications, via a specified service, for the requesting account. Requires auth.

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', 'android', 'web'] | str [Required]

Platform.

field service_did: Did [Required]

Service did.

field token: str [Required]

Token.

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

Bases: TypedDict

app_id: str

App id.

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

Platform.

service_did: Did

Service did.

token: str

Token.

age_restricted: NotRequired[bool | None]

Set to true when the actor is age restricted.