@wppconnect/wa-proto 2.3000.1046652905 → 2.3000.1046672143

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/WAProto.proto CHANGED
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
2
  package waproto;
3
3
 
4
- /// WhatsApp Version: 2.3000.1046652905
4
+ /// WhatsApp Version: 2.3000.1046672143
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -1073,23 +1073,6 @@ enum COMMAND_COMMAND_TYPE {
1073
1073
  AI = 3;
1074
1074
  AI_IMAGINE = 4;
1075
1075
  }
1076
- enum CONSUMER_APPLICATION_EXTENDED_TEXT_MESSAGE_PREVIEW_TYPE {
1077
- NONE = 0;
1078
- VIDEO = 1;
1079
- }
1080
- enum CONSUMER_APPLICATION_METADATA_SPECIAL_TEXT_SIZE {
1081
- SMALL = 1;
1082
- MEDIUM = 2;
1083
- LARGE = 3;
1084
- }
1085
- enum CONSUMER_APPLICATION_STATUS_TEXT_MESAGE_FONT_TYPE {
1086
- SANS_SERIF = 0;
1087
- SERIF = 1;
1088
- NORICAN_REGULAR = 2;
1089
- BRYNDAN_WRITE = 3;
1090
- BEBASNEUE_REGULAR = 4;
1091
- OSWALD_HEAVY = 5;
1092
- }
1093
1076
  message CallLogRecord {
1094
1077
  optional CallResult callResult = 1;
1095
1078
  optional bool isDndMode = 2;
@@ -1510,213 +1493,6 @@ message Config {
1510
1493
  optional uint32 version = 2;
1511
1494
  }
1512
1495
 
1513
- message ConsumerApplication {
1514
- optional Payload payload = 1;
1515
- optional Metadata metadata = 2;
1516
- message ApplicationData {
1517
- oneof applicationContent {
1518
- ConsumerApplication.RevokeMessage revoke = 1;
1519
- }
1520
- }
1521
-
1522
- message AudioMessage {
1523
- optional SubProtocol audio = 1;
1524
- optional bool ptt = 2;
1525
- }
1526
-
1527
- message ContactMessage {
1528
- optional SubProtocol contact = 1;
1529
- }
1530
-
1531
- message ContactsArrayMessage {
1532
- optional string displayName = 1;
1533
- repeated ConsumerApplication.ContactMessage contacts = 2;
1534
- }
1535
-
1536
- message Content {
1537
- oneof content {
1538
- MessageText messageText = 1;
1539
- ConsumerApplication.ImageMessage imageMessage = 2;
1540
- ConsumerApplication.ContactMessage contactMessage = 3;
1541
- ConsumerApplication.LocationMessage locationMessage = 4;
1542
- ConsumerApplication.ExtendedTextMessage extendedTextMessage = 5;
1543
- ConsumerApplication.StatusTextMesage statusTextMessage = 6;
1544
- ConsumerApplication.DocumentMessage documentMessage = 7;
1545
- ConsumerApplication.AudioMessage audioMessage = 8;
1546
- ConsumerApplication.VideoMessage videoMessage = 9;
1547
- ConsumerApplication.ContactsArrayMessage contactsArrayMessage = 10;
1548
- ConsumerApplication.LiveLocationMessage liveLocationMessage = 11;
1549
- ConsumerApplication.StickerMessage stickerMessage = 12;
1550
- ConsumerApplication.GroupInviteMessage groupInviteMessage = 13;
1551
- ConsumerApplication.ViewOnceMessage viewOnceMessage = 14;
1552
- ConsumerApplication.ReactionMessage reactionMessage = 16;
1553
- ConsumerApplication.PollCreationMessage pollCreationMessage = 17;
1554
- ConsumerApplication.PollUpdateMessage pollUpdateMessage = 18;
1555
- ConsumerApplication.EditMessage editMessage = 19;
1556
- }
1557
- }
1558
-
1559
- message DocumentMessage {
1560
- optional SubProtocol document = 1;
1561
- optional string fileName = 2;
1562
- }
1563
-
1564
- message EditMessage {
1565
- optional MessageKey key = 1;
1566
- optional MessageText message = 2;
1567
- optional int64 timestampMs = 3;
1568
- }
1569
-
1570
- message ExtendedTextMessage {
1571
- optional MessageText text = 1;
1572
- optional string matchedText = 2;
1573
- optional string canonicalUrl = 3;
1574
- optional string description = 4;
1575
- optional string title = 5;
1576
- optional SubProtocol thumbnail = 6;
1577
- optional CONSUMER_APPLICATION_EXTENDED_TEXT_MESSAGE_PREVIEW_TYPE previewType = 7;
1578
- }
1579
-
1580
- message GroupInviteMessage {
1581
- optional string groupJid = 1;
1582
- optional string inviteCode = 2;
1583
- optional int64 inviteExpiration = 3;
1584
- optional string groupName = 4;
1585
- optional bytes jpegThumbnail = 5;
1586
- optional MessageText caption = 6;
1587
- }
1588
-
1589
- message ImageMessage {
1590
- optional SubProtocol image = 1;
1591
- optional MessageText caption = 2;
1592
- }
1593
-
1594
- message InteractiveAnnotation {
1595
- repeated ConsumerApplication.Point polygonVertices = 1;
1596
- oneof action {
1597
- ConsumerApplication.Location location = 2;
1598
- }
1599
- }
1600
-
1601
- message LiveLocationMessage {
1602
- optional ConsumerApplication.Location location = 1;
1603
- optional uint32 accuracyInMeters = 2;
1604
- optional float speedInMps = 3;
1605
- optional uint32 degreesClockwiseFromMagneticNorth = 4;
1606
- optional MessageText caption = 5;
1607
- optional int64 sequenceNumber = 6;
1608
- optional uint32 timeOffset = 7;
1609
- }
1610
-
1611
- message Location {
1612
- optional double degreesLatitude = 1;
1613
- optional double degreesLongitude = 2;
1614
- optional string name = 3;
1615
- }
1616
-
1617
- message LocationMessage {
1618
- optional ConsumerApplication.Location location = 1;
1619
- optional string address = 2;
1620
- }
1621
-
1622
- message MediaPayload {
1623
- optional SubProtocol protocol = 1;
1624
- }
1625
-
1626
- message Metadata {
1627
- optional CONSUMER_APPLICATION_METADATA_SPECIAL_TEXT_SIZE specialTextSize = 1;
1628
- }
1629
-
1630
- message Option {
1631
- optional string optionName = 1;
1632
- }
1633
-
1634
- message Payload {
1635
- oneof payload {
1636
- ConsumerApplication.Content content = 1;
1637
- ConsumerApplication.ApplicationData applicationData = 2;
1638
- ConsumerApplication.Signal signal = 3;
1639
- ConsumerApplication.SubProtocolPayload subProtocol = 4;
1640
- }
1641
- }
1642
-
1643
- message Point {
1644
- optional double x = 1;
1645
- optional double y = 2;
1646
- }
1647
-
1648
- message PollAddOptionMessage {
1649
- repeated ConsumerApplication.Option pollOption = 1;
1650
- }
1651
-
1652
- message PollCreationMessage {
1653
- optional bytes encKey = 1;
1654
- optional string name = 2;
1655
- repeated ConsumerApplication.Option options = 3;
1656
- optional uint32 selectableOptionsCount = 4;
1657
- }
1658
-
1659
- message PollEncValue {
1660
- optional bytes encPayload = 1;
1661
- optional bytes encIv = 2;
1662
- }
1663
-
1664
- message PollUpdateMessage {
1665
- optional MessageKey pollCreationMessageKey = 1;
1666
- optional ConsumerApplication.PollEncValue vote = 2;
1667
- optional ConsumerApplication.PollEncValue addOption = 3;
1668
- }
1669
-
1670
- message PollVoteMessage {
1671
- repeated bytes selectedOptions = 1;
1672
- optional int64 senderTimestampMs = 2;
1673
- }
1674
-
1675
- message ReactionMessage {
1676
- optional MessageKey key = 1;
1677
- optional string text = 2;
1678
- optional string groupingKey = 3;
1679
- optional int64 senderTimestampMs = 4;
1680
- optional string reactionMetadataDataclassData = 5;
1681
- optional int32 style = 6;
1682
- }
1683
-
1684
- message RevokeMessage {
1685
- optional MessageKey key = 1;
1686
- }
1687
-
1688
- message Signal {
1689
- }
1690
-
1691
- message StatusTextMesage {
1692
- optional ConsumerApplication.ExtendedTextMessage text = 1;
1693
- optional fixed32 textArgb = 6;
1694
- optional fixed32 backgroundArgb = 7;
1695
- optional CONSUMER_APPLICATION_STATUS_TEXT_MESAGE_FONT_TYPE font = 8;
1696
- }
1697
-
1698
- message StickerMessage {
1699
- optional SubProtocol sticker = 1;
1700
- }
1701
-
1702
- message SubProtocolPayload {
1703
- optional FUTURE_PROOF_BEHAVIOR futureProof = 1;
1704
- }
1705
-
1706
- message VideoMessage {
1707
- optional SubProtocol video = 1;
1708
- optional MessageText caption = 2;
1709
- }
1710
-
1711
- message ViewOnceMessage {
1712
- oneof viewOnceContent {
1713
- ConsumerApplication.ImageMessage imageMessage = 1;
1714
- ConsumerApplication.VideoMessage videoMessage = 2;
1715
- }
1716
- }
1717
-
1718
- }
1719
-
1720
1496
  message ContextInfo {
1721
1497
  optional string stanzaId = 1;
1722
1498
  optional string participant = 2;