Skip to content

registerDevice

Function · TDLib 1.8.67 · d1085f9c

Registers the currently used device for receiving push notifications. Returns a globally unique identifier of the push notification subscription

registerDevice(
  device_token: DeviceToken,
  other_user_ids: list of int53
) → PushReceiverId

device_token

DeviceToken

Device token

other_user_ids

list of int53

List of user identifiers of other users currently using the application