syntax = "proto3";

message QREnvelope {
  enum Type {
    PUBLIC_PROFILE = 0;
  }
  Type  type = 2;
  bytes data = 3;
}

message PublicProfile {
  int64  user_id                 = 1;
  string username                = 2;
  bytes  public_identity_key     = 3;
  bytes  signed_prekey           = 4;
  int64  registration_id         = 5;
  bytes  signed_prekey_signature = 6;
  int64  signed_prekey_id        = 7;
  optional bytes secret_verification_token = 8; 
  optional int64 timestamp = 9;
}
