forked from jshiffer/matterbridge
c4157a4d5b
* Update dependencies * Fix whatsmeow API changes
34 lines
622 B
Protocol Buffer
34 lines
622 B
Protocol Buffer
syntax = "proto2";
|
|
package WAProtobufsUserPassword;
|
|
option go_package = "go.mau.fi/whatsmeow/proto/waUserPassword";
|
|
|
|
message UserPassword {
|
|
enum Transformer {
|
|
NONE = 0;
|
|
PBKDF2_HMAC_SHA512 = 1;
|
|
PBKDF2_HMAC_SHA384 = 2;
|
|
}
|
|
|
|
enum Encoding {
|
|
UTF8 = 0;
|
|
UTF8_BROKEN = 1;
|
|
}
|
|
|
|
message TransformerArg {
|
|
message Value {
|
|
oneof value {
|
|
bytes asBlob = 1;
|
|
uint32 asUnsignedInteger = 2;
|
|
}
|
|
}
|
|
|
|
optional string key = 1;
|
|
optional Value value = 2;
|
|
}
|
|
|
|
optional Encoding encoding = 1;
|
|
optional Transformer transformer = 2;
|
|
repeated TransformerArg transformerArg = 3;
|
|
optional bytes transformedData = 4;
|
|
}
|