forked from cloned-doy/whatsfly
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add protobuf-sending of messages
feat: enable getGroupInviteLink now returns the link feat: add getGroupInfo
- Loading branch information
Showing
99 changed files
with
7,187 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,5 @@ aiosqlite | |
setuptools | ||
requests | ||
mkdocs | ||
qrcode | ||
qrcode | ||
protobuf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ types-PyYAML | |
setuptools | ||
requests | ||
mkdocs | ||
qrcode | ||
qrcode | ||
protobuf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
protoc --proto_path=. --python_out=. */*.proto |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
syntax = "proto2"; | ||
package WAAdv; | ||
option go_package = "go.mau.fi/whatsmeow/proto/waAdv"; | ||
|
||
enum ADVEncryptionType { | ||
E2EE = 0; | ||
HOSTED = 1; | ||
} | ||
|
||
message ADVKeyIndexList { | ||
optional uint32 rawID = 1; | ||
optional uint64 timestamp = 2; | ||
optional uint32 currentIndex = 3; | ||
repeated uint32 validIndexes = 4 [packed=true]; | ||
optional ADVEncryptionType accountType = 5; | ||
} | ||
|
||
message ADVSignedKeyIndexList { | ||
optional bytes details = 1; | ||
optional bytes accountSignature = 2; | ||
optional bytes accountSignatureKey = 3; | ||
} | ||
|
||
message ADVDeviceIdentity { | ||
optional uint32 rawID = 1; | ||
optional uint64 timestamp = 2; | ||
optional uint32 keyIndex = 3; | ||
optional ADVEncryptionType accountType = 4; | ||
optional ADVEncryptionType deviceType = 5; | ||
} | ||
|
||
message ADVSignedDeviceIdentity { | ||
optional bytes details = 1; | ||
optional bytes accountSignatureKey = 2; | ||
optional bytes accountSignature = 3; | ||
optional bytes deviceSignature = 4; | ||
} | ||
|
||
message ADVSignedDeviceIdentityHMAC { | ||
optional bytes details = 1; | ||
optional bytes HMAC = 2; | ||
optional ADVEncryptionType accountType = 3; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.