Class ClaimRequest


  • public class ClaimRequest
    extends Object
    JSON body parameters for Claims one-time keys for use in pre-key messages.
    • Field Detail

      • timeout

        private Long timeout
        The time (in milliseconds) to wait when downloading keys from remote servers. 10 seconds is the recommended default.
      • oneTimeKeys

        private Map<String,​Map<String,​String>> oneTimeKeys
        Required. The keys to be claimed. A map from user ID, to a map from device ID to algorithm name.
    • Constructor Detail

      • ClaimRequest

        public ClaimRequest()