RegisterDevice constructor

RegisterDevice(
  1. {required DeviceToken device_token,
  2. required List<int> other_user_ids,
  3. int? extra,
  4. int? clientId}
)

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

Returns PushReceiverId

Implementation

RegisterDevice