register_device


Description:

public async PushReceiverId register_device (DeviceToken device_token, ArrayList<int64?> other_user_ids) throws TDLibError

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

Parameters:

device_token

Device token

other_user_ids

List of user identifiers of other users currently using the application