Skip to content

DeviceTokenWebPush

Type · TDLib 1.8.67 · d1085f9c

A token for web Push API

DeviceTokenWebPush(
  endpoint: string,
  p256dh_base64url: string,
  auth_base64url: string
) → DeviceToken

endpoint

string

Absolute URL exposed by the push service where the application server can send push messages; may be empty to deregister a device

p256dh_base64url

string

Base64url-encoded P-256 elliptic curve Diffie-Hellman public key

auth_base64url

string

Base64url-encoded authentication secret