Class RegisterE2EMobilePushDevice

java.lang.Object
com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
com.github.jamesnetherton.zulip.client.api.server.request.RegisterE2EMobilePushDevice
All Implemented Interfaces:
VoidExecutableApiRequest

public class RegisterE2EMobilePushDevice extends ZulipApiRequest implements VoidExecutableApiRequest
Zulip API request builder for registering a E2E mobile push device.
See Also:
  • Field Details

  • Constructor Details

    • RegisterE2EMobilePushDevice

      public RegisterE2EMobilePushDevice(ZulipHttpClient client, TokenKind tokenKind, int pushAccountId, String pushPublicKey, String bouncerPublicKey, String encryptedPushRegistration)
      RegisterE2EMobilePushDevice a ZulipApiRequest.
      Parameters:
      client - The Zulip HTTP client
      tokenKind - The TokenKind for how the token was generated
      pushAccountId - Random integer to be included in mobile push notifications invalid input: '&' encrypted payloads to identify pushes as being related to this registration
      pushPublicKey - Push public key encoded using an RFC 4648 standard base64 encoder
      bouncerPublicKey - Bouncer public key encoded using an RFC 4648 standard base64 encoder
      encryptedPushRegistration - Ciphertext generated by encrypting a PushRegistration Map using the bouncer_public_key field. Encoded using an RFC 4648 standard base64 encoder. The PushRegistration map contains fields token, token_kind, timestamp, and for iOS devices ios_app_id. The map must be JSON encoded before encryption.
  • Method Details