@wppconnect/wa-proto 1.0.1 → 1.1.0
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/CHANGELOG.md +1761 -0
- package/WAProto.proto +124 -4
- package/dist/index.d.ts +1291 -20
- package/dist/index.js +4007 -80
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1425,6 +1425,222 @@ export namespace waproto {
|
|
|
1425
1425
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1426
1426
|
}
|
|
1427
1427
|
|
|
1428
|
+
/** Properties of a BotCapabilityMetadata. */
|
|
1429
|
+
interface IBotCapabilityMetadata {
|
|
1430
|
+
|
|
1431
|
+
/** BotCapabilityMetadata capabilities */
|
|
1432
|
+
capabilities?: (waproto.BotCapabilityMetadata.BotCapabilityType[]|null);
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
/** Represents a BotCapabilityMetadata. */
|
|
1436
|
+
class BotCapabilityMetadata implements IBotCapabilityMetadata {
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
* Constructs a new BotCapabilityMetadata.
|
|
1440
|
+
* @param [properties] Properties to set
|
|
1441
|
+
*/
|
|
1442
|
+
constructor(properties?: waproto.IBotCapabilityMetadata);
|
|
1443
|
+
|
|
1444
|
+
/** BotCapabilityMetadata capabilities. */
|
|
1445
|
+
public capabilities: waproto.BotCapabilityMetadata.BotCapabilityType[];
|
|
1446
|
+
|
|
1447
|
+
/**
|
|
1448
|
+
* Creates a new BotCapabilityMetadata instance using the specified properties.
|
|
1449
|
+
* @param [properties] Properties to set
|
|
1450
|
+
* @returns BotCapabilityMetadata instance
|
|
1451
|
+
*/
|
|
1452
|
+
public static create(properties?: waproto.IBotCapabilityMetadata): waproto.BotCapabilityMetadata;
|
|
1453
|
+
|
|
1454
|
+
/**
|
|
1455
|
+
* Encodes the specified BotCapabilityMetadata message. Does not implicitly {@link waproto.BotCapabilityMetadata.verify|verify} messages.
|
|
1456
|
+
* @param message BotCapabilityMetadata message or plain object to encode
|
|
1457
|
+
* @param [writer] Writer to encode to
|
|
1458
|
+
* @returns Writer
|
|
1459
|
+
*/
|
|
1460
|
+
public static encode(message: waproto.IBotCapabilityMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* Encodes the specified BotCapabilityMetadata message, length delimited. Does not implicitly {@link waproto.BotCapabilityMetadata.verify|verify} messages.
|
|
1464
|
+
* @param message BotCapabilityMetadata message or plain object to encode
|
|
1465
|
+
* @param [writer] Writer to encode to
|
|
1466
|
+
* @returns Writer
|
|
1467
|
+
*/
|
|
1468
|
+
public static encodeDelimited(message: waproto.IBotCapabilityMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1469
|
+
|
|
1470
|
+
/**
|
|
1471
|
+
* Decodes a BotCapabilityMetadata message from the specified reader or buffer.
|
|
1472
|
+
* @param reader Reader or buffer to decode from
|
|
1473
|
+
* @param [length] Message length if known beforehand
|
|
1474
|
+
* @returns BotCapabilityMetadata
|
|
1475
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1476
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1477
|
+
*/
|
|
1478
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotCapabilityMetadata;
|
|
1479
|
+
|
|
1480
|
+
/**
|
|
1481
|
+
* Decodes a BotCapabilityMetadata message from the specified reader or buffer, length delimited.
|
|
1482
|
+
* @param reader Reader or buffer to decode from
|
|
1483
|
+
* @returns BotCapabilityMetadata
|
|
1484
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1485
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1486
|
+
*/
|
|
1487
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotCapabilityMetadata;
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* Verifies a BotCapabilityMetadata message.
|
|
1491
|
+
* @param message Plain object to verify
|
|
1492
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1493
|
+
*/
|
|
1494
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1495
|
+
|
|
1496
|
+
/**
|
|
1497
|
+
* Creates a BotCapabilityMetadata message from a plain object. Also converts values to their respective internal types.
|
|
1498
|
+
* @param object Plain object
|
|
1499
|
+
* @returns BotCapabilityMetadata
|
|
1500
|
+
*/
|
|
1501
|
+
public static fromObject(object: { [k: string]: any }): waproto.BotCapabilityMetadata;
|
|
1502
|
+
|
|
1503
|
+
/**
|
|
1504
|
+
* Creates a plain object from a BotCapabilityMetadata message. Also converts values to other types if specified.
|
|
1505
|
+
* @param message BotCapabilityMetadata
|
|
1506
|
+
* @param [options] Conversion options
|
|
1507
|
+
* @returns Plain object
|
|
1508
|
+
*/
|
|
1509
|
+
public static toObject(message: waproto.BotCapabilityMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1510
|
+
|
|
1511
|
+
/**
|
|
1512
|
+
* Converts this BotCapabilityMetadata to JSON.
|
|
1513
|
+
* @returns JSON object
|
|
1514
|
+
*/
|
|
1515
|
+
public toJSON(): { [k: string]: any };
|
|
1516
|
+
|
|
1517
|
+
/**
|
|
1518
|
+
* Gets the default type url for BotCapabilityMetadata
|
|
1519
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1520
|
+
* @returns The default type url
|
|
1521
|
+
*/
|
|
1522
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
namespace BotCapabilityMetadata {
|
|
1526
|
+
|
|
1527
|
+
/** BotCapabilityType enum. */
|
|
1528
|
+
enum BotCapabilityType {
|
|
1529
|
+
PROGRESS_INDICATOR = 1,
|
|
1530
|
+
RICH_RESPONSE_HEADING = 2,
|
|
1531
|
+
RICH_RESPONSE_NESTED_LIST = 3
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
/** Properties of a BotImagineMetadata. */
|
|
1536
|
+
interface IBotImagineMetadata {
|
|
1537
|
+
|
|
1538
|
+
/** BotImagineMetadata imagineType */
|
|
1539
|
+
imagineType?: (waproto.BotImagineMetadata.ImagineType|null);
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
/** Represents a BotImagineMetadata. */
|
|
1543
|
+
class BotImagineMetadata implements IBotImagineMetadata {
|
|
1544
|
+
|
|
1545
|
+
/**
|
|
1546
|
+
* Constructs a new BotImagineMetadata.
|
|
1547
|
+
* @param [properties] Properties to set
|
|
1548
|
+
*/
|
|
1549
|
+
constructor(properties?: waproto.IBotImagineMetadata);
|
|
1550
|
+
|
|
1551
|
+
/** BotImagineMetadata imagineType. */
|
|
1552
|
+
public imagineType?: (waproto.BotImagineMetadata.ImagineType|null);
|
|
1553
|
+
|
|
1554
|
+
/**
|
|
1555
|
+
* Creates a new BotImagineMetadata instance using the specified properties.
|
|
1556
|
+
* @param [properties] Properties to set
|
|
1557
|
+
* @returns BotImagineMetadata instance
|
|
1558
|
+
*/
|
|
1559
|
+
public static create(properties?: waproto.IBotImagineMetadata): waproto.BotImagineMetadata;
|
|
1560
|
+
|
|
1561
|
+
/**
|
|
1562
|
+
* Encodes the specified BotImagineMetadata message. Does not implicitly {@link waproto.BotImagineMetadata.verify|verify} messages.
|
|
1563
|
+
* @param message BotImagineMetadata message or plain object to encode
|
|
1564
|
+
* @param [writer] Writer to encode to
|
|
1565
|
+
* @returns Writer
|
|
1566
|
+
*/
|
|
1567
|
+
public static encode(message: waproto.IBotImagineMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1570
|
+
* Encodes the specified BotImagineMetadata message, length delimited. Does not implicitly {@link waproto.BotImagineMetadata.verify|verify} messages.
|
|
1571
|
+
* @param message BotImagineMetadata message or plain object to encode
|
|
1572
|
+
* @param [writer] Writer to encode to
|
|
1573
|
+
* @returns Writer
|
|
1574
|
+
*/
|
|
1575
|
+
public static encodeDelimited(message: waproto.IBotImagineMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* Decodes a BotImagineMetadata message from the specified reader or buffer.
|
|
1579
|
+
* @param reader Reader or buffer to decode from
|
|
1580
|
+
* @param [length] Message length if known beforehand
|
|
1581
|
+
* @returns BotImagineMetadata
|
|
1582
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1583
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1584
|
+
*/
|
|
1585
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotImagineMetadata;
|
|
1586
|
+
|
|
1587
|
+
/**
|
|
1588
|
+
* Decodes a BotImagineMetadata message from the specified reader or buffer, length delimited.
|
|
1589
|
+
* @param reader Reader or buffer to decode from
|
|
1590
|
+
* @returns BotImagineMetadata
|
|
1591
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1592
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1593
|
+
*/
|
|
1594
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotImagineMetadata;
|
|
1595
|
+
|
|
1596
|
+
/**
|
|
1597
|
+
* Verifies a BotImagineMetadata message.
|
|
1598
|
+
* @param message Plain object to verify
|
|
1599
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1600
|
+
*/
|
|
1601
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1602
|
+
|
|
1603
|
+
/**
|
|
1604
|
+
* Creates a BotImagineMetadata message from a plain object. Also converts values to their respective internal types.
|
|
1605
|
+
* @param object Plain object
|
|
1606
|
+
* @returns BotImagineMetadata
|
|
1607
|
+
*/
|
|
1608
|
+
public static fromObject(object: { [k: string]: any }): waproto.BotImagineMetadata;
|
|
1609
|
+
|
|
1610
|
+
/**
|
|
1611
|
+
* Creates a plain object from a BotImagineMetadata message. Also converts values to other types if specified.
|
|
1612
|
+
* @param message BotImagineMetadata
|
|
1613
|
+
* @param [options] Conversion options
|
|
1614
|
+
* @returns Plain object
|
|
1615
|
+
*/
|
|
1616
|
+
public static toObject(message: waproto.BotImagineMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* Converts this BotImagineMetadata to JSON.
|
|
1620
|
+
* @returns JSON object
|
|
1621
|
+
*/
|
|
1622
|
+
public toJSON(): { [k: string]: any };
|
|
1623
|
+
|
|
1624
|
+
/**
|
|
1625
|
+
* Gets the default type url for BotImagineMetadata
|
|
1626
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1627
|
+
* @returns The default type url
|
|
1628
|
+
*/
|
|
1629
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
namespace BotImagineMetadata {
|
|
1633
|
+
|
|
1634
|
+
/** ImagineType enum. */
|
|
1635
|
+
enum ImagineType {
|
|
1636
|
+
UNKNOWN = 0,
|
|
1637
|
+
IMAGINE = 1,
|
|
1638
|
+
MEMU = 2,
|
|
1639
|
+
FLASH = 3,
|
|
1640
|
+
EDIT = 4
|
|
1641
|
+
}
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1428
1644
|
/** Properties of a BotMediaMetadata. */
|
|
1429
1645
|
interface IBotMediaMetadata {
|
|
1430
1646
|
|
|
@@ -1568,6 +1784,218 @@ export namespace waproto {
|
|
|
1568
1784
|
}
|
|
1569
1785
|
}
|
|
1570
1786
|
|
|
1787
|
+
/** Properties of a BotMemoryFact. */
|
|
1788
|
+
interface IBotMemoryFact {
|
|
1789
|
+
|
|
1790
|
+
/** BotMemoryFact fact */
|
|
1791
|
+
fact?: (string|null);
|
|
1792
|
+
|
|
1793
|
+
/** BotMemoryFact factId */
|
|
1794
|
+
factId?: (string|null);
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
/** Represents a BotMemoryFact. */
|
|
1798
|
+
class BotMemoryFact implements IBotMemoryFact {
|
|
1799
|
+
|
|
1800
|
+
/**
|
|
1801
|
+
* Constructs a new BotMemoryFact.
|
|
1802
|
+
* @param [properties] Properties to set
|
|
1803
|
+
*/
|
|
1804
|
+
constructor(properties?: waproto.IBotMemoryFact);
|
|
1805
|
+
|
|
1806
|
+
/** BotMemoryFact fact. */
|
|
1807
|
+
public fact?: (string|null);
|
|
1808
|
+
|
|
1809
|
+
/** BotMemoryFact factId. */
|
|
1810
|
+
public factId?: (string|null);
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* Creates a new BotMemoryFact instance using the specified properties.
|
|
1814
|
+
* @param [properties] Properties to set
|
|
1815
|
+
* @returns BotMemoryFact instance
|
|
1816
|
+
*/
|
|
1817
|
+
public static create(properties?: waproto.IBotMemoryFact): waproto.BotMemoryFact;
|
|
1818
|
+
|
|
1819
|
+
/**
|
|
1820
|
+
* Encodes the specified BotMemoryFact message. Does not implicitly {@link waproto.BotMemoryFact.verify|verify} messages.
|
|
1821
|
+
* @param message BotMemoryFact message or plain object to encode
|
|
1822
|
+
* @param [writer] Writer to encode to
|
|
1823
|
+
* @returns Writer
|
|
1824
|
+
*/
|
|
1825
|
+
public static encode(message: waproto.IBotMemoryFact, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1826
|
+
|
|
1827
|
+
/**
|
|
1828
|
+
* Encodes the specified BotMemoryFact message, length delimited. Does not implicitly {@link waproto.BotMemoryFact.verify|verify} messages.
|
|
1829
|
+
* @param message BotMemoryFact message or plain object to encode
|
|
1830
|
+
* @param [writer] Writer to encode to
|
|
1831
|
+
* @returns Writer
|
|
1832
|
+
*/
|
|
1833
|
+
public static encodeDelimited(message: waproto.IBotMemoryFact, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1834
|
+
|
|
1835
|
+
/**
|
|
1836
|
+
* Decodes a BotMemoryFact message from the specified reader or buffer.
|
|
1837
|
+
* @param reader Reader or buffer to decode from
|
|
1838
|
+
* @param [length] Message length if known beforehand
|
|
1839
|
+
* @returns BotMemoryFact
|
|
1840
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1841
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1842
|
+
*/
|
|
1843
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotMemoryFact;
|
|
1844
|
+
|
|
1845
|
+
/**
|
|
1846
|
+
* Decodes a BotMemoryFact message from the specified reader or buffer, length delimited.
|
|
1847
|
+
* @param reader Reader or buffer to decode from
|
|
1848
|
+
* @returns BotMemoryFact
|
|
1849
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1850
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1851
|
+
*/
|
|
1852
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotMemoryFact;
|
|
1853
|
+
|
|
1854
|
+
/**
|
|
1855
|
+
* Verifies a BotMemoryFact message.
|
|
1856
|
+
* @param message Plain object to verify
|
|
1857
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1858
|
+
*/
|
|
1859
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1860
|
+
|
|
1861
|
+
/**
|
|
1862
|
+
* Creates a BotMemoryFact message from a plain object. Also converts values to their respective internal types.
|
|
1863
|
+
* @param object Plain object
|
|
1864
|
+
* @returns BotMemoryFact
|
|
1865
|
+
*/
|
|
1866
|
+
public static fromObject(object: { [k: string]: any }): waproto.BotMemoryFact;
|
|
1867
|
+
|
|
1868
|
+
/**
|
|
1869
|
+
* Creates a plain object from a BotMemoryFact message. Also converts values to other types if specified.
|
|
1870
|
+
* @param message BotMemoryFact
|
|
1871
|
+
* @param [options] Conversion options
|
|
1872
|
+
* @returns Plain object
|
|
1873
|
+
*/
|
|
1874
|
+
public static toObject(message: waproto.BotMemoryFact, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1875
|
+
|
|
1876
|
+
/**
|
|
1877
|
+
* Converts this BotMemoryFact to JSON.
|
|
1878
|
+
* @returns JSON object
|
|
1879
|
+
*/
|
|
1880
|
+
public toJSON(): { [k: string]: any };
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* Gets the default type url for BotMemoryFact
|
|
1884
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1885
|
+
* @returns The default type url
|
|
1886
|
+
*/
|
|
1887
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
/** Properties of a BotMemoryMetadata. */
|
|
1891
|
+
interface IBotMemoryMetadata {
|
|
1892
|
+
|
|
1893
|
+
/** BotMemoryMetadata addedFacts */
|
|
1894
|
+
addedFacts?: (waproto.IBotMemoryFact[]|null);
|
|
1895
|
+
|
|
1896
|
+
/** BotMemoryMetadata removedFacts */
|
|
1897
|
+
removedFacts?: (waproto.IBotMemoryFact[]|null);
|
|
1898
|
+
|
|
1899
|
+
/** BotMemoryMetadata disclaimer */
|
|
1900
|
+
disclaimer?: (string|null);
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
/** Represents a BotMemoryMetadata. */
|
|
1904
|
+
class BotMemoryMetadata implements IBotMemoryMetadata {
|
|
1905
|
+
|
|
1906
|
+
/**
|
|
1907
|
+
* Constructs a new BotMemoryMetadata.
|
|
1908
|
+
* @param [properties] Properties to set
|
|
1909
|
+
*/
|
|
1910
|
+
constructor(properties?: waproto.IBotMemoryMetadata);
|
|
1911
|
+
|
|
1912
|
+
/** BotMemoryMetadata addedFacts. */
|
|
1913
|
+
public addedFacts: waproto.IBotMemoryFact[];
|
|
1914
|
+
|
|
1915
|
+
/** BotMemoryMetadata removedFacts. */
|
|
1916
|
+
public removedFacts: waproto.IBotMemoryFact[];
|
|
1917
|
+
|
|
1918
|
+
/** BotMemoryMetadata disclaimer. */
|
|
1919
|
+
public disclaimer?: (string|null);
|
|
1920
|
+
|
|
1921
|
+
/**
|
|
1922
|
+
* Creates a new BotMemoryMetadata instance using the specified properties.
|
|
1923
|
+
* @param [properties] Properties to set
|
|
1924
|
+
* @returns BotMemoryMetadata instance
|
|
1925
|
+
*/
|
|
1926
|
+
public static create(properties?: waproto.IBotMemoryMetadata): waproto.BotMemoryMetadata;
|
|
1927
|
+
|
|
1928
|
+
/**
|
|
1929
|
+
* Encodes the specified BotMemoryMetadata message. Does not implicitly {@link waproto.BotMemoryMetadata.verify|verify} messages.
|
|
1930
|
+
* @param message BotMemoryMetadata message or plain object to encode
|
|
1931
|
+
* @param [writer] Writer to encode to
|
|
1932
|
+
* @returns Writer
|
|
1933
|
+
*/
|
|
1934
|
+
public static encode(message: waproto.IBotMemoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1935
|
+
|
|
1936
|
+
/**
|
|
1937
|
+
* Encodes the specified BotMemoryMetadata message, length delimited. Does not implicitly {@link waproto.BotMemoryMetadata.verify|verify} messages.
|
|
1938
|
+
* @param message BotMemoryMetadata message or plain object to encode
|
|
1939
|
+
* @param [writer] Writer to encode to
|
|
1940
|
+
* @returns Writer
|
|
1941
|
+
*/
|
|
1942
|
+
public static encodeDelimited(message: waproto.IBotMemoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1943
|
+
|
|
1944
|
+
/**
|
|
1945
|
+
* Decodes a BotMemoryMetadata message from the specified reader or buffer.
|
|
1946
|
+
* @param reader Reader or buffer to decode from
|
|
1947
|
+
* @param [length] Message length if known beforehand
|
|
1948
|
+
* @returns BotMemoryMetadata
|
|
1949
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1950
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1951
|
+
*/
|
|
1952
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotMemoryMetadata;
|
|
1953
|
+
|
|
1954
|
+
/**
|
|
1955
|
+
* Decodes a BotMemoryMetadata message from the specified reader or buffer, length delimited.
|
|
1956
|
+
* @param reader Reader or buffer to decode from
|
|
1957
|
+
* @returns BotMemoryMetadata
|
|
1958
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1959
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1960
|
+
*/
|
|
1961
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotMemoryMetadata;
|
|
1962
|
+
|
|
1963
|
+
/**
|
|
1964
|
+
* Verifies a BotMemoryMetadata message.
|
|
1965
|
+
* @param message Plain object to verify
|
|
1966
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1967
|
+
*/
|
|
1968
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* Creates a BotMemoryMetadata message from a plain object. Also converts values to their respective internal types.
|
|
1972
|
+
* @param object Plain object
|
|
1973
|
+
* @returns BotMemoryMetadata
|
|
1974
|
+
*/
|
|
1975
|
+
public static fromObject(object: { [k: string]: any }): waproto.BotMemoryMetadata;
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* Creates a plain object from a BotMemoryMetadata message. Also converts values to other types if specified.
|
|
1979
|
+
* @param message BotMemoryMetadata
|
|
1980
|
+
* @param [options] Conversion options
|
|
1981
|
+
* @returns Plain object
|
|
1982
|
+
*/
|
|
1983
|
+
public static toObject(message: waproto.BotMemoryMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* Converts this BotMemoryMetadata to JSON.
|
|
1987
|
+
* @returns JSON object
|
|
1988
|
+
*/
|
|
1989
|
+
public toJSON(): { [k: string]: any };
|
|
1990
|
+
|
|
1991
|
+
/**
|
|
1992
|
+
* Gets the default type url for BotMemoryMetadata
|
|
1993
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1994
|
+
* @returns The default type url
|
|
1995
|
+
*/
|
|
1996
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1571
1999
|
/** Properties of a BotMemuMetadata. */
|
|
1572
2000
|
interface IBotMemuMetadata {
|
|
1573
2001
|
|
|
@@ -1700,6 +2128,18 @@ export namespace waproto {
|
|
|
1700
2128
|
|
|
1701
2129
|
/** BotMetadata messageDisclaimerText */
|
|
1702
2130
|
messageDisclaimerText?: (string|null);
|
|
2131
|
+
|
|
2132
|
+
/** BotMetadata progressIndicatorMetadata */
|
|
2133
|
+
progressIndicatorMetadata?: (waproto.IBotProgressIndicatorMetadata|null);
|
|
2134
|
+
|
|
2135
|
+
/** BotMetadata capabilityMetadata */
|
|
2136
|
+
capabilityMetadata?: (waproto.IBotCapabilityMetadata|null);
|
|
2137
|
+
|
|
2138
|
+
/** BotMetadata imagineMetadata */
|
|
2139
|
+
imagineMetadata?: (waproto.IBotImagineMetadata|null);
|
|
2140
|
+
|
|
2141
|
+
/** BotMetadata memoryMetadata */
|
|
2142
|
+
memoryMetadata?: (waproto.IBotMemoryMetadata|null);
|
|
1703
2143
|
}
|
|
1704
2144
|
|
|
1705
2145
|
/** Represents a BotMetadata. */
|
|
@@ -1744,6 +2184,18 @@ export namespace waproto {
|
|
|
1744
2184
|
/** BotMetadata messageDisclaimerText. */
|
|
1745
2185
|
public messageDisclaimerText?: (string|null);
|
|
1746
2186
|
|
|
2187
|
+
/** BotMetadata progressIndicatorMetadata. */
|
|
2188
|
+
public progressIndicatorMetadata?: (waproto.IBotProgressIndicatorMetadata|null);
|
|
2189
|
+
|
|
2190
|
+
/** BotMetadata capabilityMetadata. */
|
|
2191
|
+
public capabilityMetadata?: (waproto.IBotCapabilityMetadata|null);
|
|
2192
|
+
|
|
2193
|
+
/** BotMetadata imagineMetadata. */
|
|
2194
|
+
public imagineMetadata?: (waproto.IBotImagineMetadata|null);
|
|
2195
|
+
|
|
2196
|
+
/** BotMetadata memoryMetadata. */
|
|
2197
|
+
public memoryMetadata?: (waproto.IBotMemoryMetadata|null);
|
|
2198
|
+
|
|
1747
2199
|
/**
|
|
1748
2200
|
* Creates a new BotMetadata instance using the specified properties.
|
|
1749
2201
|
* @param [properties] Properties to set
|
|
@@ -2108,10 +2560,108 @@ export namespace waproto {
|
|
|
2108
2560
|
/** SearchProvider enum. */
|
|
2109
2561
|
enum SearchProvider {
|
|
2110
2562
|
BING = 1,
|
|
2111
|
-
GOOGLE = 2
|
|
2563
|
+
GOOGLE = 2,
|
|
2564
|
+
SUPPORT = 3
|
|
2112
2565
|
}
|
|
2113
2566
|
}
|
|
2114
2567
|
|
|
2568
|
+
/** Properties of a BotProgressIndicatorMetadata. */
|
|
2569
|
+
interface IBotProgressIndicatorMetadata {
|
|
2570
|
+
|
|
2571
|
+
/** BotProgressIndicatorMetadata progressDescription */
|
|
2572
|
+
progressDescription?: (string|null);
|
|
2573
|
+
}
|
|
2574
|
+
|
|
2575
|
+
/** Represents a BotProgressIndicatorMetadata. */
|
|
2576
|
+
class BotProgressIndicatorMetadata implements IBotProgressIndicatorMetadata {
|
|
2577
|
+
|
|
2578
|
+
/**
|
|
2579
|
+
* Constructs a new BotProgressIndicatorMetadata.
|
|
2580
|
+
* @param [properties] Properties to set
|
|
2581
|
+
*/
|
|
2582
|
+
constructor(properties?: waproto.IBotProgressIndicatorMetadata);
|
|
2583
|
+
|
|
2584
|
+
/** BotProgressIndicatorMetadata progressDescription. */
|
|
2585
|
+
public progressDescription?: (string|null);
|
|
2586
|
+
|
|
2587
|
+
/**
|
|
2588
|
+
* Creates a new BotProgressIndicatorMetadata instance using the specified properties.
|
|
2589
|
+
* @param [properties] Properties to set
|
|
2590
|
+
* @returns BotProgressIndicatorMetadata instance
|
|
2591
|
+
*/
|
|
2592
|
+
public static create(properties?: waproto.IBotProgressIndicatorMetadata): waproto.BotProgressIndicatorMetadata;
|
|
2593
|
+
|
|
2594
|
+
/**
|
|
2595
|
+
* Encodes the specified BotProgressIndicatorMetadata message. Does not implicitly {@link waproto.BotProgressIndicatorMetadata.verify|verify} messages.
|
|
2596
|
+
* @param message BotProgressIndicatorMetadata message or plain object to encode
|
|
2597
|
+
* @param [writer] Writer to encode to
|
|
2598
|
+
* @returns Writer
|
|
2599
|
+
*/
|
|
2600
|
+
public static encode(message: waproto.IBotProgressIndicatorMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2601
|
+
|
|
2602
|
+
/**
|
|
2603
|
+
* Encodes the specified BotProgressIndicatorMetadata message, length delimited. Does not implicitly {@link waproto.BotProgressIndicatorMetadata.verify|verify} messages.
|
|
2604
|
+
* @param message BotProgressIndicatorMetadata message or plain object to encode
|
|
2605
|
+
* @param [writer] Writer to encode to
|
|
2606
|
+
* @returns Writer
|
|
2607
|
+
*/
|
|
2608
|
+
public static encodeDelimited(message: waproto.IBotProgressIndicatorMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2609
|
+
|
|
2610
|
+
/**
|
|
2611
|
+
* Decodes a BotProgressIndicatorMetadata message from the specified reader or buffer.
|
|
2612
|
+
* @param reader Reader or buffer to decode from
|
|
2613
|
+
* @param [length] Message length if known beforehand
|
|
2614
|
+
* @returns BotProgressIndicatorMetadata
|
|
2615
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2616
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2617
|
+
*/
|
|
2618
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotProgressIndicatorMetadata;
|
|
2619
|
+
|
|
2620
|
+
/**
|
|
2621
|
+
* Decodes a BotProgressIndicatorMetadata message from the specified reader or buffer, length delimited.
|
|
2622
|
+
* @param reader Reader or buffer to decode from
|
|
2623
|
+
* @returns BotProgressIndicatorMetadata
|
|
2624
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2625
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2626
|
+
*/
|
|
2627
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotProgressIndicatorMetadata;
|
|
2628
|
+
|
|
2629
|
+
/**
|
|
2630
|
+
* Verifies a BotProgressIndicatorMetadata message.
|
|
2631
|
+
* @param message Plain object to verify
|
|
2632
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2633
|
+
*/
|
|
2634
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2635
|
+
|
|
2636
|
+
/**
|
|
2637
|
+
* Creates a BotProgressIndicatorMetadata message from a plain object. Also converts values to their respective internal types.
|
|
2638
|
+
* @param object Plain object
|
|
2639
|
+
* @returns BotProgressIndicatorMetadata
|
|
2640
|
+
*/
|
|
2641
|
+
public static fromObject(object: { [k: string]: any }): waproto.BotProgressIndicatorMetadata;
|
|
2642
|
+
|
|
2643
|
+
/**
|
|
2644
|
+
* Creates a plain object from a BotProgressIndicatorMetadata message. Also converts values to other types if specified.
|
|
2645
|
+
* @param message BotProgressIndicatorMetadata
|
|
2646
|
+
* @param [options] Conversion options
|
|
2647
|
+
* @returns Plain object
|
|
2648
|
+
*/
|
|
2649
|
+
public static toObject(message: waproto.BotProgressIndicatorMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2650
|
+
|
|
2651
|
+
/**
|
|
2652
|
+
* Converts this BotProgressIndicatorMetadata to JSON.
|
|
2653
|
+
* @returns JSON object
|
|
2654
|
+
*/
|
|
2655
|
+
public toJSON(): { [k: string]: any };
|
|
2656
|
+
|
|
2657
|
+
/**
|
|
2658
|
+
* Gets the default type url for BotProgressIndicatorMetadata
|
|
2659
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2660
|
+
* @returns The default type url
|
|
2661
|
+
*/
|
|
2662
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2663
|
+
}
|
|
2664
|
+
|
|
2115
2665
|
/** Properties of a BotReminderMetadata. */
|
|
2116
2666
|
interface IBotReminderMetadata {
|
|
2117
2667
|
|
|
@@ -3915,8 +4465,8 @@ export namespace waproto {
|
|
|
3915
4465
|
/** ClientPayload interopData */
|
|
3916
4466
|
interopData?: (waproto.ClientPayload.IInteropData|null);
|
|
3917
4467
|
|
|
3918
|
-
/** ClientPayload
|
|
3919
|
-
|
|
4468
|
+
/** ClientPayload trafficAnonymization */
|
|
4469
|
+
trafficAnonymization?: (waproto.ClientPayload.TrafficAnonymization|null);
|
|
3920
4470
|
}
|
|
3921
4471
|
|
|
3922
4472
|
/** Represents a ClientPayload. */
|
|
@@ -4009,8 +4559,8 @@ export namespace waproto {
|
|
|
4009
4559
|
/** ClientPayload interopData. */
|
|
4010
4560
|
public interopData?: (waproto.ClientPayload.IInteropData|null);
|
|
4011
4561
|
|
|
4012
|
-
/** ClientPayload
|
|
4013
|
-
public
|
|
4562
|
+
/** ClientPayload trafficAnonymization. */
|
|
4563
|
+
public trafficAnonymization?: (waproto.ClientPayload.TrafficAnonymization|null);
|
|
4014
4564
|
|
|
4015
4565
|
/**
|
|
4016
4566
|
* Creates a new ClientPayload instance using the specified properties.
|
|
@@ -4500,6 +5050,12 @@ export namespace waproto {
|
|
|
4500
5050
|
INTEROP_MSGR = 3
|
|
4501
5051
|
}
|
|
4502
5052
|
|
|
5053
|
+
/** TrafficAnonymization enum. */
|
|
5054
|
+
enum TrafficAnonymization {
|
|
5055
|
+
OFF = 0,
|
|
5056
|
+
STANDARD = 1
|
|
5057
|
+
}
|
|
5058
|
+
|
|
4503
5059
|
/** Properties of a UserAgent. */
|
|
4504
5060
|
interface IUserAgent {
|
|
4505
5061
|
|
|
@@ -5581,6 +6137,15 @@ export namespace waproto {
|
|
|
5581
6137
|
|
|
5582
6138
|
/** ContextInfo entryPointConversionExternalMedium */
|
|
5583
6139
|
entryPointConversionExternalMedium?: (string|null);
|
|
6140
|
+
|
|
6141
|
+
/** ContextInfo ctwaSignals */
|
|
6142
|
+
ctwaSignals?: (string|null);
|
|
6143
|
+
|
|
6144
|
+
/** ContextInfo ctwaPayload */
|
|
6145
|
+
ctwaPayload?: (Uint8Array|null);
|
|
6146
|
+
|
|
6147
|
+
/** ContextInfo forwardedAiBotMessageInfo */
|
|
6148
|
+
forwardedAiBotMessageInfo?: (waproto.ContextInfo.IForwardedAIBotMessageInfo|null);
|
|
5584
6149
|
}
|
|
5585
6150
|
|
|
5586
6151
|
/** Represents a ContextInfo. */
|
|
@@ -5703,6 +6268,15 @@ export namespace waproto {
|
|
|
5703
6268
|
/** ContextInfo entryPointConversionExternalMedium. */
|
|
5704
6269
|
public entryPointConversionExternalMedium?: (string|null);
|
|
5705
6270
|
|
|
6271
|
+
/** ContextInfo ctwaSignals. */
|
|
6272
|
+
public ctwaSignals?: (string|null);
|
|
6273
|
+
|
|
6274
|
+
/** ContextInfo ctwaPayload. */
|
|
6275
|
+
public ctwaPayload?: (Uint8Array|null);
|
|
6276
|
+
|
|
6277
|
+
/** ContextInfo forwardedAiBotMessageInfo. */
|
|
6278
|
+
public forwardedAiBotMessageInfo?: (waproto.ContextInfo.IForwardedAIBotMessageInfo|null);
|
|
6279
|
+
|
|
5706
6280
|
/**
|
|
5707
6281
|
* Creates a new ContextInfo instance using the specified properties.
|
|
5708
6282
|
* @param [properties] Properties to set
|
|
@@ -6288,6 +6862,24 @@ export namespace waproto {
|
|
|
6288
6862
|
|
|
6289
6863
|
/** ExternalAdReplyInfo adContextPreviewDismissed */
|
|
6290
6864
|
adContextPreviewDismissed?: (boolean|null);
|
|
6865
|
+
|
|
6866
|
+
/** ExternalAdReplyInfo sourceApp */
|
|
6867
|
+
sourceApp?: (string|null);
|
|
6868
|
+
|
|
6869
|
+
/** ExternalAdReplyInfo automatedGreetingMessageShown */
|
|
6870
|
+
automatedGreetingMessageShown?: (boolean|null);
|
|
6871
|
+
|
|
6872
|
+
/** ExternalAdReplyInfo greetingMessageBody */
|
|
6873
|
+
greetingMessageBody?: (string|null);
|
|
6874
|
+
|
|
6875
|
+
/** ExternalAdReplyInfo ctaPayload */
|
|
6876
|
+
ctaPayload?: (string|null);
|
|
6877
|
+
|
|
6878
|
+
/** ExternalAdReplyInfo disableNudge */
|
|
6879
|
+
disableNudge?: (boolean|null);
|
|
6880
|
+
|
|
6881
|
+
/** ExternalAdReplyInfo originalImageUrl */
|
|
6882
|
+
originalImageUrl?: (string|null);
|
|
6291
6883
|
}
|
|
6292
6884
|
|
|
6293
6885
|
/** Represents an ExternalAdReplyInfo. */
|
|
@@ -6347,6 +6939,24 @@ export namespace waproto {
|
|
|
6347
6939
|
/** ExternalAdReplyInfo adContextPreviewDismissed. */
|
|
6348
6940
|
public adContextPreviewDismissed?: (boolean|null);
|
|
6349
6941
|
|
|
6942
|
+
/** ExternalAdReplyInfo sourceApp. */
|
|
6943
|
+
public sourceApp?: (string|null);
|
|
6944
|
+
|
|
6945
|
+
/** ExternalAdReplyInfo automatedGreetingMessageShown. */
|
|
6946
|
+
public automatedGreetingMessageShown?: (boolean|null);
|
|
6947
|
+
|
|
6948
|
+
/** ExternalAdReplyInfo greetingMessageBody. */
|
|
6949
|
+
public greetingMessageBody?: (string|null);
|
|
6950
|
+
|
|
6951
|
+
/** ExternalAdReplyInfo ctaPayload. */
|
|
6952
|
+
public ctaPayload?: (string|null);
|
|
6953
|
+
|
|
6954
|
+
/** ExternalAdReplyInfo disableNudge. */
|
|
6955
|
+
public disableNudge?: (boolean|null);
|
|
6956
|
+
|
|
6957
|
+
/** ExternalAdReplyInfo originalImageUrl. */
|
|
6958
|
+
public originalImageUrl?: (string|null);
|
|
6959
|
+
|
|
6350
6960
|
/**
|
|
6351
6961
|
* Creates a new ExternalAdReplyInfo instance using the specified properties.
|
|
6352
6962
|
* @param [properties] Properties to set
|
|
@@ -6544,6 +7154,115 @@ export namespace waproto {
|
|
|
6544
7154
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6545
7155
|
}
|
|
6546
7156
|
|
|
7157
|
+
/** Properties of a ForwardedAIBotMessageInfo. */
|
|
7158
|
+
interface IForwardedAIBotMessageInfo {
|
|
7159
|
+
|
|
7160
|
+
/** ForwardedAIBotMessageInfo botName */
|
|
7161
|
+
botName?: (string|null);
|
|
7162
|
+
|
|
7163
|
+
/** ForwardedAIBotMessageInfo botJid */
|
|
7164
|
+
botJid?: (string|null);
|
|
7165
|
+
|
|
7166
|
+
/** ForwardedAIBotMessageInfo creatorName */
|
|
7167
|
+
creatorName?: (string|null);
|
|
7168
|
+
}
|
|
7169
|
+
|
|
7170
|
+
/** Represents a ForwardedAIBotMessageInfo. */
|
|
7171
|
+
class ForwardedAIBotMessageInfo implements IForwardedAIBotMessageInfo {
|
|
7172
|
+
|
|
7173
|
+
/**
|
|
7174
|
+
* Constructs a new ForwardedAIBotMessageInfo.
|
|
7175
|
+
* @param [properties] Properties to set
|
|
7176
|
+
*/
|
|
7177
|
+
constructor(properties?: waproto.ContextInfo.IForwardedAIBotMessageInfo);
|
|
7178
|
+
|
|
7179
|
+
/** ForwardedAIBotMessageInfo botName. */
|
|
7180
|
+
public botName?: (string|null);
|
|
7181
|
+
|
|
7182
|
+
/** ForwardedAIBotMessageInfo botJid. */
|
|
7183
|
+
public botJid?: (string|null);
|
|
7184
|
+
|
|
7185
|
+
/** ForwardedAIBotMessageInfo creatorName. */
|
|
7186
|
+
public creatorName?: (string|null);
|
|
7187
|
+
|
|
7188
|
+
/**
|
|
7189
|
+
* Creates a new ForwardedAIBotMessageInfo instance using the specified properties.
|
|
7190
|
+
* @param [properties] Properties to set
|
|
7191
|
+
* @returns ForwardedAIBotMessageInfo instance
|
|
7192
|
+
*/
|
|
7193
|
+
public static create(properties?: waproto.ContextInfo.IForwardedAIBotMessageInfo): waproto.ContextInfo.ForwardedAIBotMessageInfo;
|
|
7194
|
+
|
|
7195
|
+
/**
|
|
7196
|
+
* Encodes the specified ForwardedAIBotMessageInfo message. Does not implicitly {@link waproto.ContextInfo.ForwardedAIBotMessageInfo.verify|verify} messages.
|
|
7197
|
+
* @param message ForwardedAIBotMessageInfo message or plain object to encode
|
|
7198
|
+
* @param [writer] Writer to encode to
|
|
7199
|
+
* @returns Writer
|
|
7200
|
+
*/
|
|
7201
|
+
public static encode(message: waproto.ContextInfo.IForwardedAIBotMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7202
|
+
|
|
7203
|
+
/**
|
|
7204
|
+
* Encodes the specified ForwardedAIBotMessageInfo message, length delimited. Does not implicitly {@link waproto.ContextInfo.ForwardedAIBotMessageInfo.verify|verify} messages.
|
|
7205
|
+
* @param message ForwardedAIBotMessageInfo message or plain object to encode
|
|
7206
|
+
* @param [writer] Writer to encode to
|
|
7207
|
+
* @returns Writer
|
|
7208
|
+
*/
|
|
7209
|
+
public static encodeDelimited(message: waproto.ContextInfo.IForwardedAIBotMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7210
|
+
|
|
7211
|
+
/**
|
|
7212
|
+
* Decodes a ForwardedAIBotMessageInfo message from the specified reader or buffer.
|
|
7213
|
+
* @param reader Reader or buffer to decode from
|
|
7214
|
+
* @param [length] Message length if known beforehand
|
|
7215
|
+
* @returns ForwardedAIBotMessageInfo
|
|
7216
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7217
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7218
|
+
*/
|
|
7219
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo.ForwardedAIBotMessageInfo;
|
|
7220
|
+
|
|
7221
|
+
/**
|
|
7222
|
+
* Decodes a ForwardedAIBotMessageInfo message from the specified reader or buffer, length delimited.
|
|
7223
|
+
* @param reader Reader or buffer to decode from
|
|
7224
|
+
* @returns ForwardedAIBotMessageInfo
|
|
7225
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7226
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7227
|
+
*/
|
|
7228
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo.ForwardedAIBotMessageInfo;
|
|
7229
|
+
|
|
7230
|
+
/**
|
|
7231
|
+
* Verifies a ForwardedAIBotMessageInfo message.
|
|
7232
|
+
* @param message Plain object to verify
|
|
7233
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7234
|
+
*/
|
|
7235
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7236
|
+
|
|
7237
|
+
/**
|
|
7238
|
+
* Creates a ForwardedAIBotMessageInfo message from a plain object. Also converts values to their respective internal types.
|
|
7239
|
+
* @param object Plain object
|
|
7240
|
+
* @returns ForwardedAIBotMessageInfo
|
|
7241
|
+
*/
|
|
7242
|
+
public static fromObject(object: { [k: string]: any }): waproto.ContextInfo.ForwardedAIBotMessageInfo;
|
|
7243
|
+
|
|
7244
|
+
/**
|
|
7245
|
+
* Creates a plain object from a ForwardedAIBotMessageInfo message. Also converts values to other types if specified.
|
|
7246
|
+
* @param message ForwardedAIBotMessageInfo
|
|
7247
|
+
* @param [options] Conversion options
|
|
7248
|
+
* @returns Plain object
|
|
7249
|
+
*/
|
|
7250
|
+
public static toObject(message: waproto.ContextInfo.ForwardedAIBotMessageInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7251
|
+
|
|
7252
|
+
/**
|
|
7253
|
+
* Converts this ForwardedAIBotMessageInfo to JSON.
|
|
7254
|
+
* @returns JSON object
|
|
7255
|
+
*/
|
|
7256
|
+
public toJSON(): { [k: string]: any };
|
|
7257
|
+
|
|
7258
|
+
/**
|
|
7259
|
+
* Gets the default type url for ForwardedAIBotMessageInfo
|
|
7260
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7261
|
+
* @returns The default type url
|
|
7262
|
+
*/
|
|
7263
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7264
|
+
}
|
|
7265
|
+
|
|
6547
7266
|
/** Properties of a ForwardedNewsletterMessageInfo. */
|
|
6548
7267
|
interface IForwardedNewsletterMessageInfo {
|
|
6549
7268
|
|
|
@@ -7802,6 +8521,9 @@ export namespace waproto {
|
|
|
7802
8521
|
|
|
7803
8522
|
/** HistorySyncConfig supportAddOnHistorySyncMigration */
|
|
7804
8523
|
supportAddOnHistorySyncMigration?: (boolean|null);
|
|
8524
|
+
|
|
8525
|
+
/** HistorySyncConfig supportMessageAssociation */
|
|
8526
|
+
supportMessageAssociation?: (boolean|null);
|
|
7805
8527
|
}
|
|
7806
8528
|
|
|
7807
8529
|
/** Represents a HistorySyncConfig. */
|
|
@@ -7852,6 +8574,9 @@ export namespace waproto {
|
|
|
7852
8574
|
/** HistorySyncConfig supportAddOnHistorySyncMigration. */
|
|
7853
8575
|
public supportAddOnHistorySyncMigration?: (boolean|null);
|
|
7854
8576
|
|
|
8577
|
+
/** HistorySyncConfig supportMessageAssociation. */
|
|
8578
|
+
public supportMessageAssociation?: (boolean|null);
|
|
8579
|
+
|
|
7855
8580
|
/**
|
|
7856
8581
|
* Creates a new HistorySyncConfig instance using the specified properties.
|
|
7857
8582
|
* @param [properties] Properties to set
|
|
@@ -7955,7 +8680,8 @@ export namespace waproto {
|
|
|
7955
8680
|
AR_DEVICE = 20,
|
|
7956
8681
|
UWP = 21,
|
|
7957
8682
|
VR = 22,
|
|
7958
|
-
CLOUD_API = 23
|
|
8683
|
+
CLOUD_API = 23,
|
|
8684
|
+
SMARTGLASSES = 24
|
|
7959
8685
|
}
|
|
7960
8686
|
}
|
|
7961
8687
|
|
|
@@ -8328,11 +9054,17 @@ export namespace waproto {
|
|
|
8328
9054
|
/** EmbeddedMusic artworkEncSha256 */
|
|
8329
9055
|
artworkEncSha256?: (Uint8Array|null);
|
|
8330
9056
|
|
|
9057
|
+
/** EmbeddedMusic artworkMediaKey */
|
|
9058
|
+
artworkMediaKey?: (Uint8Array|null);
|
|
9059
|
+
|
|
8331
9060
|
/** EmbeddedMusic artistAttribution */
|
|
8332
9061
|
artistAttribution?: (string|null);
|
|
8333
9062
|
|
|
8334
9063
|
/** EmbeddedMusic countryBlocklist */
|
|
8335
9064
|
countryBlocklist?: (Uint8Array|null);
|
|
9065
|
+
|
|
9066
|
+
/** EmbeddedMusic isExplicit */
|
|
9067
|
+
isExplicit?: (boolean|null);
|
|
8336
9068
|
}
|
|
8337
9069
|
|
|
8338
9070
|
/** Represents an EmbeddedMusic. */
|
|
@@ -8365,12 +9097,18 @@ export namespace waproto {
|
|
|
8365
9097
|
/** EmbeddedMusic artworkEncSha256. */
|
|
8366
9098
|
public artworkEncSha256?: (Uint8Array|null);
|
|
8367
9099
|
|
|
9100
|
+
/** EmbeddedMusic artworkMediaKey. */
|
|
9101
|
+
public artworkMediaKey?: (Uint8Array|null);
|
|
9102
|
+
|
|
8368
9103
|
/** EmbeddedMusic artistAttribution. */
|
|
8369
9104
|
public artistAttribution?: (string|null);
|
|
8370
9105
|
|
|
8371
9106
|
/** EmbeddedMusic countryBlocklist. */
|
|
8372
9107
|
public countryBlocklist?: (Uint8Array|null);
|
|
8373
9108
|
|
|
9109
|
+
/** EmbeddedMusic isExplicit. */
|
|
9110
|
+
public isExplicit?: (boolean|null);
|
|
9111
|
+
|
|
8374
9112
|
/**
|
|
8375
9113
|
* Creates a new EmbeddedMusic instance using the specified properties.
|
|
8376
9114
|
* @param [properties] Properties to set
|
|
@@ -10957,6 +11695,9 @@ export namespace waproto {
|
|
|
10957
11695
|
|
|
10958
11696
|
/** InteractiveAnnotation embeddedAction */
|
|
10959
11697
|
embeddedAction?: (boolean|null);
|
|
11698
|
+
|
|
11699
|
+
/** InteractiveAnnotation tapAction */
|
|
11700
|
+
tapAction?: (waproto.ITapLinkAction|null);
|
|
10960
11701
|
}
|
|
10961
11702
|
|
|
10962
11703
|
/** Represents an InteractiveAnnotation. */
|
|
@@ -10986,8 +11727,11 @@ export namespace waproto {
|
|
|
10986
11727
|
/** InteractiveAnnotation embeddedAction. */
|
|
10987
11728
|
public embeddedAction?: (boolean|null);
|
|
10988
11729
|
|
|
11730
|
+
/** InteractiveAnnotation tapAction. */
|
|
11731
|
+
public tapAction?: (waproto.ITapLinkAction|null);
|
|
11732
|
+
|
|
10989
11733
|
/** InteractiveAnnotation action. */
|
|
10990
|
-
public action?: ("location"|"newsletter"|"embeddedAction");
|
|
11734
|
+
public action?: ("location"|"newsletter"|"embeddedAction"|"tapAction");
|
|
10991
11735
|
|
|
10992
11736
|
/**
|
|
10993
11737
|
* Creates a new InteractiveAnnotation instance using the specified properties.
|
|
@@ -12054,6 +12798,9 @@ export namespace waproto {
|
|
|
12054
12798
|
|
|
12055
12799
|
/** MediaRetryNotification result */
|
|
12056
12800
|
result?: (waproto.MediaRetryNotification.ResultType|null);
|
|
12801
|
+
|
|
12802
|
+
/** MediaRetryNotification messageSecret */
|
|
12803
|
+
messageSecret?: (Uint8Array|null);
|
|
12057
12804
|
}
|
|
12058
12805
|
|
|
12059
12806
|
/** Represents a MediaRetryNotification. */
|
|
@@ -12074,6 +12821,9 @@ export namespace waproto {
|
|
|
12074
12821
|
/** MediaRetryNotification result. */
|
|
12075
12822
|
public result?: (waproto.MediaRetryNotification.ResultType|null);
|
|
12076
12823
|
|
|
12824
|
+
/** MediaRetryNotification messageSecret. */
|
|
12825
|
+
public messageSecret?: (Uint8Array|null);
|
|
12826
|
+
|
|
12077
12827
|
/**
|
|
12078
12828
|
* Creates a new MediaRetryNotification instance using the specified properties.
|
|
12079
12829
|
* @param [properties] Properties to set
|
|
@@ -12391,6 +13141,12 @@ export namespace waproto {
|
|
|
12391
13141
|
|
|
12392
13142
|
/** Message pollResultSnapshotMessage */
|
|
12393
13143
|
pollResultSnapshotMessage?: (waproto.Message.IPollResultSnapshotMessage|null);
|
|
13144
|
+
|
|
13145
|
+
/** Message pollCreationMessageV4 */
|
|
13146
|
+
pollCreationMessageV4?: (waproto.Message.IFutureProofMessage|null);
|
|
13147
|
+
|
|
13148
|
+
/** Message pollCreationOptionImageMessage */
|
|
13149
|
+
pollCreationOptionImageMessage?: (waproto.Message.IFutureProofMessage|null);
|
|
12394
13150
|
}
|
|
12395
13151
|
|
|
12396
13152
|
/** Represents a Message. */
|
|
@@ -12621,6 +13377,12 @@ export namespace waproto {
|
|
|
12621
13377
|
/** Message pollResultSnapshotMessage. */
|
|
12622
13378
|
public pollResultSnapshotMessage?: (waproto.Message.IPollResultSnapshotMessage|null);
|
|
12623
13379
|
|
|
13380
|
+
/** Message pollCreationMessageV4. */
|
|
13381
|
+
public pollCreationMessageV4?: (waproto.Message.IFutureProofMessage|null);
|
|
13382
|
+
|
|
13383
|
+
/** Message pollCreationOptionImageMessage. */
|
|
13384
|
+
public pollCreationOptionImageMessage?: (waproto.Message.IFutureProofMessage|null);
|
|
13385
|
+
|
|
12624
13386
|
/**
|
|
12625
13387
|
* Creates a new Message instance using the specified properties.
|
|
12626
13388
|
* @param [properties] Properties to set
|
|
@@ -12704,9 +13466,6 @@ export namespace waproto {
|
|
|
12704
13466
|
/** Properties of an AlbumMessage. */
|
|
12705
13467
|
interface IAlbumMessage {
|
|
12706
13468
|
|
|
12707
|
-
/** AlbumMessage caption */
|
|
12708
|
-
caption?: (string|null);
|
|
12709
|
-
|
|
12710
13469
|
/** AlbumMessage expectedImageCount */
|
|
12711
13470
|
expectedImageCount?: (number|null);
|
|
12712
13471
|
|
|
@@ -12726,9 +13485,6 @@ export namespace waproto {
|
|
|
12726
13485
|
*/
|
|
12727
13486
|
constructor(properties?: waproto.Message.IAlbumMessage);
|
|
12728
13487
|
|
|
12729
|
-
/** AlbumMessage caption. */
|
|
12730
|
-
public caption?: (string|null);
|
|
12731
|
-
|
|
12732
13488
|
/** AlbumMessage expectedImageCount. */
|
|
12733
13489
|
public expectedImageCount?: (number|null);
|
|
12734
13490
|
|
|
@@ -14644,6 +15400,12 @@ export namespace waproto {
|
|
|
14644
15400
|
|
|
14645
15401
|
/** Call conversionDelaySeconds */
|
|
14646
15402
|
conversionDelaySeconds?: (number|null);
|
|
15403
|
+
|
|
15404
|
+
/** Call ctwaSignals */
|
|
15405
|
+
ctwaSignals?: (string|null);
|
|
15406
|
+
|
|
15407
|
+
/** Call ctwaPayload */
|
|
15408
|
+
ctwaPayload?: (Uint8Array|null);
|
|
14647
15409
|
}
|
|
14648
15410
|
|
|
14649
15411
|
/** Represents a Call. */
|
|
@@ -14667,6 +15429,12 @@ export namespace waproto {
|
|
|
14667
15429
|
/** Call conversionDelaySeconds. */
|
|
14668
15430
|
public conversionDelaySeconds?: (number|null);
|
|
14669
15431
|
|
|
15432
|
+
/** Call ctwaSignals. */
|
|
15433
|
+
public ctwaSignals?: (string|null);
|
|
15434
|
+
|
|
15435
|
+
/** Call ctwaPayload. */
|
|
15436
|
+
public ctwaPayload?: (Uint8Array|null);
|
|
15437
|
+
|
|
14670
15438
|
/**
|
|
14671
15439
|
* Creates a new Call instance using the specified properties.
|
|
14672
15440
|
* @param [properties] Properties to set
|
|
@@ -16927,7 +17695,8 @@ export namespace waproto {
|
|
|
16927
17695
|
VIDEO = 1,
|
|
16928
17696
|
PLACEHOLDER = 4,
|
|
16929
17697
|
IMAGE = 5,
|
|
16930
|
-
PAYMENT_LINKS = 6
|
|
17698
|
+
PAYMENT_LINKS = 6,
|
|
17699
|
+
PROFILE = 7
|
|
16931
17700
|
}
|
|
16932
17701
|
}
|
|
16933
17702
|
|
|
@@ -22332,6 +23101,9 @@ export namespace waproto {
|
|
|
22332
23101
|
|
|
22333
23102
|
/** HistorySyncOnDemandRequest oldestMsgTimestampMs */
|
|
22334
23103
|
oldestMsgTimestampMs?: (number|Long|null);
|
|
23104
|
+
|
|
23105
|
+
/** HistorySyncOnDemandRequest accountLid */
|
|
23106
|
+
accountLid?: (string|null);
|
|
22335
23107
|
}
|
|
22336
23108
|
|
|
22337
23109
|
/** Represents a HistorySyncOnDemandRequest. */
|
|
@@ -22358,6 +23130,9 @@ export namespace waproto {
|
|
|
22358
23130
|
/** HistorySyncOnDemandRequest oldestMsgTimestampMs. */
|
|
22359
23131
|
public oldestMsgTimestampMs?: (number|Long|null);
|
|
22360
23132
|
|
|
23133
|
+
/** HistorySyncOnDemandRequest accountLid. */
|
|
23134
|
+
public accountLid?: (string|null);
|
|
23135
|
+
|
|
22361
23136
|
/**
|
|
22362
23137
|
* Creates a new HistorySyncOnDemandRequest instance using the specified properties.
|
|
22363
23138
|
* @param [properties] Properties to set
|
|
@@ -22865,6 +23640,9 @@ export namespace waproto {
|
|
|
22865
23640
|
|
|
22866
23641
|
/** PeerDataOperationResult fullHistorySyncOnDemandRequestResponse */
|
|
22867
23642
|
fullHistorySyncOnDemandRequestResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFullHistorySyncOnDemandRequestResponse|null);
|
|
23643
|
+
|
|
23644
|
+
/** PeerDataOperationResult companionMetaNonceFetchRequestResponse */
|
|
23645
|
+
companionMetaNonceFetchRequestResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse|null);
|
|
22868
23646
|
}
|
|
22869
23647
|
|
|
22870
23648
|
/** Represents a PeerDataOperationResult. */
|
|
@@ -22894,6 +23672,9 @@ export namespace waproto {
|
|
|
22894
23672
|
/** PeerDataOperationResult fullHistorySyncOnDemandRequestResponse. */
|
|
22895
23673
|
public fullHistorySyncOnDemandRequestResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFullHistorySyncOnDemandRequestResponse|null);
|
|
22896
23674
|
|
|
23675
|
+
/** PeerDataOperationResult companionMetaNonceFetchRequestResponse. */
|
|
23676
|
+
public companionMetaNonceFetchRequestResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse|null);
|
|
23677
|
+
|
|
22897
23678
|
/**
|
|
22898
23679
|
* Creates a new PeerDataOperationResult instance using the specified properties.
|
|
22899
23680
|
* @param [properties] Properties to set
|
|
@@ -22974,6 +23755,103 @@ export namespace waproto {
|
|
|
22974
23755
|
|
|
22975
23756
|
namespace PeerDataOperationResult {
|
|
22976
23757
|
|
|
23758
|
+
/** Properties of a CompanionMetaNonceFetchResponse. */
|
|
23759
|
+
interface ICompanionMetaNonceFetchResponse {
|
|
23760
|
+
|
|
23761
|
+
/** CompanionMetaNonceFetchResponse nonce */
|
|
23762
|
+
nonce?: (string|null);
|
|
23763
|
+
}
|
|
23764
|
+
|
|
23765
|
+
/** Represents a CompanionMetaNonceFetchResponse. */
|
|
23766
|
+
class CompanionMetaNonceFetchResponse implements ICompanionMetaNonceFetchResponse {
|
|
23767
|
+
|
|
23768
|
+
/**
|
|
23769
|
+
* Constructs a new CompanionMetaNonceFetchResponse.
|
|
23770
|
+
* @param [properties] Properties to set
|
|
23771
|
+
*/
|
|
23772
|
+
constructor(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse);
|
|
23773
|
+
|
|
23774
|
+
/** CompanionMetaNonceFetchResponse nonce. */
|
|
23775
|
+
public nonce?: (string|null);
|
|
23776
|
+
|
|
23777
|
+
/**
|
|
23778
|
+
* Creates a new CompanionMetaNonceFetchResponse instance using the specified properties.
|
|
23779
|
+
* @param [properties] Properties to set
|
|
23780
|
+
* @returns CompanionMetaNonceFetchResponse instance
|
|
23781
|
+
*/
|
|
23782
|
+
public static create(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse;
|
|
23783
|
+
|
|
23784
|
+
/**
|
|
23785
|
+
* Encodes the specified CompanionMetaNonceFetchResponse message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse.verify|verify} messages.
|
|
23786
|
+
* @param message CompanionMetaNonceFetchResponse message or plain object to encode
|
|
23787
|
+
* @param [writer] Writer to encode to
|
|
23788
|
+
* @returns Writer
|
|
23789
|
+
*/
|
|
23790
|
+
public static encode(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23791
|
+
|
|
23792
|
+
/**
|
|
23793
|
+
* Encodes the specified CompanionMetaNonceFetchResponse message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse.verify|verify} messages.
|
|
23794
|
+
* @param message CompanionMetaNonceFetchResponse message or plain object to encode
|
|
23795
|
+
* @param [writer] Writer to encode to
|
|
23796
|
+
* @returns Writer
|
|
23797
|
+
*/
|
|
23798
|
+
public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23799
|
+
|
|
23800
|
+
/**
|
|
23801
|
+
* Decodes a CompanionMetaNonceFetchResponse message from the specified reader or buffer.
|
|
23802
|
+
* @param reader Reader or buffer to decode from
|
|
23803
|
+
* @param [length] Message length if known beforehand
|
|
23804
|
+
* @returns CompanionMetaNonceFetchResponse
|
|
23805
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23806
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23807
|
+
*/
|
|
23808
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse;
|
|
23809
|
+
|
|
23810
|
+
/**
|
|
23811
|
+
* Decodes a CompanionMetaNonceFetchResponse message from the specified reader or buffer, length delimited.
|
|
23812
|
+
* @param reader Reader or buffer to decode from
|
|
23813
|
+
* @returns CompanionMetaNonceFetchResponse
|
|
23814
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23815
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23816
|
+
*/
|
|
23817
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse;
|
|
23818
|
+
|
|
23819
|
+
/**
|
|
23820
|
+
* Verifies a CompanionMetaNonceFetchResponse message.
|
|
23821
|
+
* @param message Plain object to verify
|
|
23822
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23823
|
+
*/
|
|
23824
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23825
|
+
|
|
23826
|
+
/**
|
|
23827
|
+
* Creates a CompanionMetaNonceFetchResponse message from a plain object. Also converts values to their respective internal types.
|
|
23828
|
+
* @param object Plain object
|
|
23829
|
+
* @returns CompanionMetaNonceFetchResponse
|
|
23830
|
+
*/
|
|
23831
|
+
public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse;
|
|
23832
|
+
|
|
23833
|
+
/**
|
|
23834
|
+
* Creates a plain object from a CompanionMetaNonceFetchResponse message. Also converts values to other types if specified.
|
|
23835
|
+
* @param message CompanionMetaNonceFetchResponse
|
|
23836
|
+
* @param [options] Conversion options
|
|
23837
|
+
* @returns Plain object
|
|
23838
|
+
*/
|
|
23839
|
+
public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23840
|
+
|
|
23841
|
+
/**
|
|
23842
|
+
* Converts this CompanionMetaNonceFetchResponse to JSON.
|
|
23843
|
+
* @returns JSON object
|
|
23844
|
+
*/
|
|
23845
|
+
public toJSON(): { [k: string]: any };
|
|
23846
|
+
|
|
23847
|
+
/**
|
|
23848
|
+
* Gets the default type url for CompanionMetaNonceFetchResponse
|
|
23849
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23850
|
+
* @returns The default type url
|
|
23851
|
+
*/
|
|
23852
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23853
|
+
}
|
|
23854
|
+
|
|
22977
23855
|
/** Properties of a FullHistorySyncOnDemandRequestResponse. */
|
|
22978
23856
|
interface IFullHistorySyncOnDemandRequestResponse {
|
|
22979
23857
|
|
|
@@ -23573,7 +24451,8 @@ export namespace waproto {
|
|
|
23573
24451
|
HISTORY_SYNC_ON_DEMAND = 3,
|
|
23574
24452
|
PLACEHOLDER_MESSAGE_RESEND = 4,
|
|
23575
24453
|
WAFFLE_LINKING_NONCE_FETCH = 5,
|
|
23576
|
-
FULL_HISTORY_SYNC_ON_DEMAND = 6
|
|
24454
|
+
FULL_HISTORY_SYNC_ON_DEMAND = 6,
|
|
24455
|
+
COMPANION_META_NONCE_FETCH = 7
|
|
23577
24456
|
}
|
|
23578
24457
|
|
|
23579
24458
|
/** Properties of a PinInChatMessage. */
|
|
@@ -23817,6 +24696,9 @@ export namespace waproto {
|
|
|
23817
24696
|
|
|
23818
24697
|
/** PollCreationMessage contextInfo */
|
|
23819
24698
|
contextInfo?: (waproto.IContextInfo|null);
|
|
24699
|
+
|
|
24700
|
+
/** PollCreationMessage pollType */
|
|
24701
|
+
pollType?: (waproto.Message.PollType|null);
|
|
23820
24702
|
}
|
|
23821
24703
|
|
|
23822
24704
|
/** Represents a PollCreationMessage. */
|
|
@@ -23843,6 +24725,9 @@ export namespace waproto {
|
|
|
23843
24725
|
/** PollCreationMessage contextInfo. */
|
|
23844
24726
|
public contextInfo?: (waproto.IContextInfo|null);
|
|
23845
24727
|
|
|
24728
|
+
/** PollCreationMessage pollType. */
|
|
24729
|
+
public pollType?: (waproto.Message.PollType|null);
|
|
24730
|
+
|
|
23846
24731
|
/**
|
|
23847
24732
|
* Creates a new PollCreationMessage instance using the specified properties.
|
|
23848
24733
|
* @param [properties] Properties to set
|
|
@@ -23928,6 +24813,9 @@ export namespace waproto {
|
|
|
23928
24813
|
|
|
23929
24814
|
/** Option optionName */
|
|
23930
24815
|
optionName?: (string|null);
|
|
24816
|
+
|
|
24817
|
+
/** Option optionHash */
|
|
24818
|
+
optionHash?: (string|null);
|
|
23931
24819
|
}
|
|
23932
24820
|
|
|
23933
24821
|
/** Represents an Option. */
|
|
@@ -23942,6 +24830,9 @@ export namespace waproto {
|
|
|
23942
24830
|
/** Option optionName. */
|
|
23943
24831
|
public optionName?: (string|null);
|
|
23944
24832
|
|
|
24833
|
+
/** Option optionHash. */
|
|
24834
|
+
public optionHash?: (string|null);
|
|
24835
|
+
|
|
23945
24836
|
/**
|
|
23946
24837
|
* Creates a new Option instance using the specified properties.
|
|
23947
24838
|
* @param [properties] Properties to set
|
|
@@ -24339,6 +25230,12 @@ export namespace waproto {
|
|
|
24339
25230
|
}
|
|
24340
25231
|
}
|
|
24341
25232
|
|
|
25233
|
+
/** PollType enum. */
|
|
25234
|
+
enum PollType {
|
|
25235
|
+
TEXT = 1,
|
|
25236
|
+
IMAGE = 2
|
|
25237
|
+
}
|
|
25238
|
+
|
|
24342
25239
|
/** Properties of a PollUpdateMessage. */
|
|
24343
25240
|
interface IPollUpdateMessage {
|
|
24344
25241
|
|
|
@@ -26521,8 +27418,8 @@ export namespace waproto {
|
|
|
26521
27418
|
/** StickerPackMessage stickers */
|
|
26522
27419
|
stickers?: (waproto.Message.StickerPackMessage.ISticker[]|null);
|
|
26523
27420
|
|
|
26524
|
-
/** StickerPackMessage
|
|
26525
|
-
|
|
27421
|
+
/** StickerPackMessage fileLength */
|
|
27422
|
+
fileLength?: (number|Long|null);
|
|
26526
27423
|
|
|
26527
27424
|
/** StickerPackMessage fileSha256 */
|
|
26528
27425
|
fileSha256?: (Uint8Array|null);
|
|
@@ -26565,6 +27462,15 @@ export namespace waproto {
|
|
|
26565
27462
|
|
|
26566
27463
|
/** StickerPackMessage thumbnailWidth */
|
|
26567
27464
|
thumbnailWidth?: (number|null);
|
|
27465
|
+
|
|
27466
|
+
/** StickerPackMessage imageDataHash */
|
|
27467
|
+
imageDataHash?: (string|null);
|
|
27468
|
+
|
|
27469
|
+
/** StickerPackMessage stickerPackSize */
|
|
27470
|
+
stickerPackSize?: (number|Long|null);
|
|
27471
|
+
|
|
27472
|
+
/** StickerPackMessage stickerPackOrigin */
|
|
27473
|
+
stickerPackOrigin?: (waproto.Message.StickerPackMessage.StickerPackOrigin|null);
|
|
26568
27474
|
}
|
|
26569
27475
|
|
|
26570
27476
|
/** Represents a StickerPackMessage. */
|
|
@@ -26588,8 +27494,8 @@ export namespace waproto {
|
|
|
26588
27494
|
/** StickerPackMessage stickers. */
|
|
26589
27495
|
public stickers: waproto.Message.StickerPackMessage.ISticker[];
|
|
26590
27496
|
|
|
26591
|
-
/** StickerPackMessage
|
|
26592
|
-
public
|
|
27497
|
+
/** StickerPackMessage fileLength. */
|
|
27498
|
+
public fileLength?: (number|Long|null);
|
|
26593
27499
|
|
|
26594
27500
|
/** StickerPackMessage fileSha256. */
|
|
26595
27501
|
public fileSha256?: (Uint8Array|null);
|
|
@@ -26633,6 +27539,15 @@ export namespace waproto {
|
|
|
26633
27539
|
/** StickerPackMessage thumbnailWidth. */
|
|
26634
27540
|
public thumbnailWidth?: (number|null);
|
|
26635
27541
|
|
|
27542
|
+
/** StickerPackMessage imageDataHash. */
|
|
27543
|
+
public imageDataHash?: (string|null);
|
|
27544
|
+
|
|
27545
|
+
/** StickerPackMessage stickerPackSize. */
|
|
27546
|
+
public stickerPackSize?: (number|Long|null);
|
|
27547
|
+
|
|
27548
|
+
/** StickerPackMessage stickerPackOrigin. */
|
|
27549
|
+
public stickerPackOrigin?: (waproto.Message.StickerPackMessage.StickerPackOrigin|null);
|
|
27550
|
+
|
|
26636
27551
|
/**
|
|
26637
27552
|
* Creates a new StickerPackMessage instance using the specified properties.
|
|
26638
27553
|
* @param [properties] Properties to set
|
|
@@ -26839,6 +27754,13 @@ export namespace waproto {
|
|
|
26839
27754
|
*/
|
|
26840
27755
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
26841
27756
|
}
|
|
27757
|
+
|
|
27758
|
+
/** StickerPackOrigin enum. */
|
|
27759
|
+
enum StickerPackOrigin {
|
|
27760
|
+
FIRST_PARTY = 0,
|
|
27761
|
+
THIRD_PARTY = 1,
|
|
27762
|
+
USER_CREATED = 2
|
|
27763
|
+
}
|
|
26842
27764
|
}
|
|
26843
27765
|
|
|
26844
27766
|
/** Properties of a StickerSyncRMRMessage. */
|
|
@@ -28020,6 +28942,9 @@ export namespace waproto {
|
|
|
28020
28942
|
|
|
28021
28943
|
/** MessageAssociation parentMessageKey */
|
|
28022
28944
|
parentMessageKey?: (waproto.IMessageKey|null);
|
|
28945
|
+
|
|
28946
|
+
/** MessageAssociation messageIndex */
|
|
28947
|
+
messageIndex?: (number|null);
|
|
28023
28948
|
}
|
|
28024
28949
|
|
|
28025
28950
|
/** Represents a MessageAssociation. */
|
|
@@ -28037,6 +28962,9 @@ export namespace waproto {
|
|
|
28037
28962
|
/** MessageAssociation parentMessageKey. */
|
|
28038
28963
|
public parentMessageKey?: (waproto.IMessageKey|null);
|
|
28039
28964
|
|
|
28965
|
+
/** MessageAssociation messageIndex. */
|
|
28966
|
+
public messageIndex?: (number|null);
|
|
28967
|
+
|
|
28040
28968
|
/**
|
|
28041
28969
|
* Creates a new MessageAssociation instance using the specified properties.
|
|
28042
28970
|
* @param [properties] Properties to set
|
|
@@ -28123,7 +29051,10 @@ export namespace waproto {
|
|
|
28123
29051
|
MEDIA_ALBUM = 1,
|
|
28124
29052
|
BOT_PLUGIN = 2,
|
|
28125
29053
|
EVENT_COVER_IMAGE = 3,
|
|
28126
|
-
STATUS_POLL = 4
|
|
29054
|
+
STATUS_POLL = 4,
|
|
29055
|
+
HD_VIDEO_DUAL_UPLOAD = 5,
|
|
29056
|
+
STATUS_TAPPABLE_MESSAGE = 6,
|
|
29057
|
+
MEDIA_POLL = 7
|
|
28127
29058
|
}
|
|
28128
29059
|
}
|
|
28129
29060
|
|
|
@@ -28701,6 +29632,9 @@ export namespace waproto {
|
|
|
28701
29632
|
/** MsgOpaqueData isSentCagPollCreation */
|
|
28702
29633
|
isSentCagPollCreation?: (boolean|null);
|
|
28703
29634
|
|
|
29635
|
+
/** MsgOpaqueData pollVotesSnapshot */
|
|
29636
|
+
pollVotesSnapshot?: (waproto.MsgOpaqueData.IPollVotesSnapshot|null);
|
|
29637
|
+
|
|
28704
29638
|
/** MsgOpaqueData encReactionTargetMessageKey */
|
|
28705
29639
|
encReactionTargetMessageKey?: (string|null);
|
|
28706
29640
|
|
|
@@ -28819,6 +29753,9 @@ export namespace waproto {
|
|
|
28819
29753
|
/** MsgOpaqueData isSentCagPollCreation. */
|
|
28820
29754
|
public isSentCagPollCreation?: (boolean|null);
|
|
28821
29755
|
|
|
29756
|
+
/** MsgOpaqueData pollVotesSnapshot. */
|
|
29757
|
+
public pollVotesSnapshot?: (waproto.MsgOpaqueData.IPollVotesSnapshot|null);
|
|
29758
|
+
|
|
28822
29759
|
/** MsgOpaqueData encReactionTargetMessageKey. */
|
|
28823
29760
|
public encReactionTargetMessageKey?: (string|null);
|
|
28824
29761
|
|
|
@@ -29164,6 +30101,206 @@ export namespace waproto {
|
|
|
29164
30101
|
*/
|
|
29165
30102
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
29166
30103
|
}
|
|
30104
|
+
|
|
30105
|
+
/** Properties of a PollVoteSnapshot. */
|
|
30106
|
+
interface IPollVoteSnapshot {
|
|
30107
|
+
|
|
30108
|
+
/** PollVoteSnapshot option */
|
|
30109
|
+
option?: (waproto.MsgOpaqueData.IPollOption|null);
|
|
30110
|
+
|
|
30111
|
+
/** PollVoteSnapshot optionVoteCount */
|
|
30112
|
+
optionVoteCount?: (number|null);
|
|
30113
|
+
}
|
|
30114
|
+
|
|
30115
|
+
/** Represents a PollVoteSnapshot. */
|
|
30116
|
+
class PollVoteSnapshot implements IPollVoteSnapshot {
|
|
30117
|
+
|
|
30118
|
+
/**
|
|
30119
|
+
* Constructs a new PollVoteSnapshot.
|
|
30120
|
+
* @param [properties] Properties to set
|
|
30121
|
+
*/
|
|
30122
|
+
constructor(properties?: waproto.MsgOpaqueData.IPollVoteSnapshot);
|
|
30123
|
+
|
|
30124
|
+
/** PollVoteSnapshot option. */
|
|
30125
|
+
public option?: (waproto.MsgOpaqueData.IPollOption|null);
|
|
30126
|
+
|
|
30127
|
+
/** PollVoteSnapshot optionVoteCount. */
|
|
30128
|
+
public optionVoteCount?: (number|null);
|
|
30129
|
+
|
|
30130
|
+
/**
|
|
30131
|
+
* Creates a new PollVoteSnapshot instance using the specified properties.
|
|
30132
|
+
* @param [properties] Properties to set
|
|
30133
|
+
* @returns PollVoteSnapshot instance
|
|
30134
|
+
*/
|
|
30135
|
+
public static create(properties?: waproto.MsgOpaqueData.IPollVoteSnapshot): waproto.MsgOpaqueData.PollVoteSnapshot;
|
|
30136
|
+
|
|
30137
|
+
/**
|
|
30138
|
+
* Encodes the specified PollVoteSnapshot message. Does not implicitly {@link waproto.MsgOpaqueData.PollVoteSnapshot.verify|verify} messages.
|
|
30139
|
+
* @param message PollVoteSnapshot message or plain object to encode
|
|
30140
|
+
* @param [writer] Writer to encode to
|
|
30141
|
+
* @returns Writer
|
|
30142
|
+
*/
|
|
30143
|
+
public static encode(message: waproto.MsgOpaqueData.IPollVoteSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30144
|
+
|
|
30145
|
+
/**
|
|
30146
|
+
* Encodes the specified PollVoteSnapshot message, length delimited. Does not implicitly {@link waproto.MsgOpaqueData.PollVoteSnapshot.verify|verify} messages.
|
|
30147
|
+
* @param message PollVoteSnapshot message or plain object to encode
|
|
30148
|
+
* @param [writer] Writer to encode to
|
|
30149
|
+
* @returns Writer
|
|
30150
|
+
*/
|
|
30151
|
+
public static encodeDelimited(message: waproto.MsgOpaqueData.IPollVoteSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30152
|
+
|
|
30153
|
+
/**
|
|
30154
|
+
* Decodes a PollVoteSnapshot message from the specified reader or buffer.
|
|
30155
|
+
* @param reader Reader or buffer to decode from
|
|
30156
|
+
* @param [length] Message length if known beforehand
|
|
30157
|
+
* @returns PollVoteSnapshot
|
|
30158
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30159
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30160
|
+
*/
|
|
30161
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MsgOpaqueData.PollVoteSnapshot;
|
|
30162
|
+
|
|
30163
|
+
/**
|
|
30164
|
+
* Decodes a PollVoteSnapshot message from the specified reader or buffer, length delimited.
|
|
30165
|
+
* @param reader Reader or buffer to decode from
|
|
30166
|
+
* @returns PollVoteSnapshot
|
|
30167
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30168
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30169
|
+
*/
|
|
30170
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MsgOpaqueData.PollVoteSnapshot;
|
|
30171
|
+
|
|
30172
|
+
/**
|
|
30173
|
+
* Verifies a PollVoteSnapshot message.
|
|
30174
|
+
* @param message Plain object to verify
|
|
30175
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
30176
|
+
*/
|
|
30177
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
30178
|
+
|
|
30179
|
+
/**
|
|
30180
|
+
* Creates a PollVoteSnapshot message from a plain object. Also converts values to their respective internal types.
|
|
30181
|
+
* @param object Plain object
|
|
30182
|
+
* @returns PollVoteSnapshot
|
|
30183
|
+
*/
|
|
30184
|
+
public static fromObject(object: { [k: string]: any }): waproto.MsgOpaqueData.PollVoteSnapshot;
|
|
30185
|
+
|
|
30186
|
+
/**
|
|
30187
|
+
* Creates a plain object from a PollVoteSnapshot message. Also converts values to other types if specified.
|
|
30188
|
+
* @param message PollVoteSnapshot
|
|
30189
|
+
* @param [options] Conversion options
|
|
30190
|
+
* @returns Plain object
|
|
30191
|
+
*/
|
|
30192
|
+
public static toObject(message: waproto.MsgOpaqueData.PollVoteSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
30193
|
+
|
|
30194
|
+
/**
|
|
30195
|
+
* Converts this PollVoteSnapshot to JSON.
|
|
30196
|
+
* @returns JSON object
|
|
30197
|
+
*/
|
|
30198
|
+
public toJSON(): { [k: string]: any };
|
|
30199
|
+
|
|
30200
|
+
/**
|
|
30201
|
+
* Gets the default type url for PollVoteSnapshot
|
|
30202
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
30203
|
+
* @returns The default type url
|
|
30204
|
+
*/
|
|
30205
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
30206
|
+
}
|
|
30207
|
+
|
|
30208
|
+
/** Properties of a PollVotesSnapshot. */
|
|
30209
|
+
interface IPollVotesSnapshot {
|
|
30210
|
+
|
|
30211
|
+
/** PollVotesSnapshot pollVotes */
|
|
30212
|
+
pollVotes?: (waproto.MsgOpaqueData.IPollVoteSnapshot[]|null);
|
|
30213
|
+
}
|
|
30214
|
+
|
|
30215
|
+
/** Represents a PollVotesSnapshot. */
|
|
30216
|
+
class PollVotesSnapshot implements IPollVotesSnapshot {
|
|
30217
|
+
|
|
30218
|
+
/**
|
|
30219
|
+
* Constructs a new PollVotesSnapshot.
|
|
30220
|
+
* @param [properties] Properties to set
|
|
30221
|
+
*/
|
|
30222
|
+
constructor(properties?: waproto.MsgOpaqueData.IPollVotesSnapshot);
|
|
30223
|
+
|
|
30224
|
+
/** PollVotesSnapshot pollVotes. */
|
|
30225
|
+
public pollVotes: waproto.MsgOpaqueData.IPollVoteSnapshot[];
|
|
30226
|
+
|
|
30227
|
+
/**
|
|
30228
|
+
* Creates a new PollVotesSnapshot instance using the specified properties.
|
|
30229
|
+
* @param [properties] Properties to set
|
|
30230
|
+
* @returns PollVotesSnapshot instance
|
|
30231
|
+
*/
|
|
30232
|
+
public static create(properties?: waproto.MsgOpaqueData.IPollVotesSnapshot): waproto.MsgOpaqueData.PollVotesSnapshot;
|
|
30233
|
+
|
|
30234
|
+
/**
|
|
30235
|
+
* Encodes the specified PollVotesSnapshot message. Does not implicitly {@link waproto.MsgOpaqueData.PollVotesSnapshot.verify|verify} messages.
|
|
30236
|
+
* @param message PollVotesSnapshot message or plain object to encode
|
|
30237
|
+
* @param [writer] Writer to encode to
|
|
30238
|
+
* @returns Writer
|
|
30239
|
+
*/
|
|
30240
|
+
public static encode(message: waproto.MsgOpaqueData.IPollVotesSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30241
|
+
|
|
30242
|
+
/**
|
|
30243
|
+
* Encodes the specified PollVotesSnapshot message, length delimited. Does not implicitly {@link waproto.MsgOpaqueData.PollVotesSnapshot.verify|verify} messages.
|
|
30244
|
+
* @param message PollVotesSnapshot message or plain object to encode
|
|
30245
|
+
* @param [writer] Writer to encode to
|
|
30246
|
+
* @returns Writer
|
|
30247
|
+
*/
|
|
30248
|
+
public static encodeDelimited(message: waproto.MsgOpaqueData.IPollVotesSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30249
|
+
|
|
30250
|
+
/**
|
|
30251
|
+
* Decodes a PollVotesSnapshot message from the specified reader or buffer.
|
|
30252
|
+
* @param reader Reader or buffer to decode from
|
|
30253
|
+
* @param [length] Message length if known beforehand
|
|
30254
|
+
* @returns PollVotesSnapshot
|
|
30255
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30256
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30257
|
+
*/
|
|
30258
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MsgOpaqueData.PollVotesSnapshot;
|
|
30259
|
+
|
|
30260
|
+
/**
|
|
30261
|
+
* Decodes a PollVotesSnapshot message from the specified reader or buffer, length delimited.
|
|
30262
|
+
* @param reader Reader or buffer to decode from
|
|
30263
|
+
* @returns PollVotesSnapshot
|
|
30264
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30265
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30266
|
+
*/
|
|
30267
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MsgOpaqueData.PollVotesSnapshot;
|
|
30268
|
+
|
|
30269
|
+
/**
|
|
30270
|
+
* Verifies a PollVotesSnapshot message.
|
|
30271
|
+
* @param message Plain object to verify
|
|
30272
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
30273
|
+
*/
|
|
30274
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
30275
|
+
|
|
30276
|
+
/**
|
|
30277
|
+
* Creates a PollVotesSnapshot message from a plain object. Also converts values to their respective internal types.
|
|
30278
|
+
* @param object Plain object
|
|
30279
|
+
* @returns PollVotesSnapshot
|
|
30280
|
+
*/
|
|
30281
|
+
public static fromObject(object: { [k: string]: any }): waproto.MsgOpaqueData.PollVotesSnapshot;
|
|
30282
|
+
|
|
30283
|
+
/**
|
|
30284
|
+
* Creates a plain object from a PollVotesSnapshot message. Also converts values to other types if specified.
|
|
30285
|
+
* @param message PollVotesSnapshot
|
|
30286
|
+
* @param [options] Conversion options
|
|
30287
|
+
* @returns Plain object
|
|
30288
|
+
*/
|
|
30289
|
+
public static toObject(message: waproto.MsgOpaqueData.PollVotesSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
30290
|
+
|
|
30291
|
+
/**
|
|
30292
|
+
* Converts this PollVotesSnapshot to JSON.
|
|
30293
|
+
* @returns JSON object
|
|
30294
|
+
*/
|
|
30295
|
+
public toJSON(): { [k: string]: any };
|
|
30296
|
+
|
|
30297
|
+
/**
|
|
30298
|
+
* Gets the default type url for PollVotesSnapshot
|
|
30299
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
30300
|
+
* @returns The default type url
|
|
30301
|
+
*/
|
|
30302
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
30303
|
+
}
|
|
29167
30304
|
}
|
|
29168
30305
|
|
|
29169
30306
|
/** Properties of a MsgRowOpaqueData. */
|
|
@@ -37401,6 +38538,12 @@ export namespace waproto {
|
|
|
37401
38538
|
|
|
37402
38539
|
/** LabelEditAction orderIndex */
|
|
37403
38540
|
orderIndex?: (number|null);
|
|
38541
|
+
|
|
38542
|
+
/** LabelEditAction isActive */
|
|
38543
|
+
isActive?: (boolean|null);
|
|
38544
|
+
|
|
38545
|
+
/** LabelEditAction type */
|
|
38546
|
+
type?: (waproto.SyncActionValue.LabelEditAction.ListType|null);
|
|
37404
38547
|
}
|
|
37405
38548
|
|
|
37406
38549
|
/** Represents a LabelEditAction. */
|
|
@@ -37427,6 +38570,12 @@ export namespace waproto {
|
|
|
37427
38570
|
/** LabelEditAction orderIndex. */
|
|
37428
38571
|
public orderIndex?: (number|null);
|
|
37429
38572
|
|
|
38573
|
+
/** LabelEditAction isActive. */
|
|
38574
|
+
public isActive?: (boolean|null);
|
|
38575
|
+
|
|
38576
|
+
/** LabelEditAction type. */
|
|
38577
|
+
public type?: (waproto.SyncActionValue.LabelEditAction.ListType|null);
|
|
38578
|
+
|
|
37430
38579
|
/**
|
|
37431
38580
|
* Creates a new LabelEditAction instance using the specified properties.
|
|
37432
38581
|
* @param [properties] Properties to set
|
|
@@ -37505,6 +38654,19 @@ export namespace waproto {
|
|
|
37505
38654
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
37506
38655
|
}
|
|
37507
38656
|
|
|
38657
|
+
namespace LabelEditAction {
|
|
38658
|
+
|
|
38659
|
+
/** ListType enum. */
|
|
38660
|
+
enum ListType {
|
|
38661
|
+
NONE = 0,
|
|
38662
|
+
UNREAD = 1,
|
|
38663
|
+
GROUPS = 2,
|
|
38664
|
+
FAVORITES = 3,
|
|
38665
|
+
PREDEFINED = 4,
|
|
38666
|
+
CUSTOM = 5
|
|
38667
|
+
}
|
|
38668
|
+
}
|
|
38669
|
+
|
|
37508
38670
|
/** Properties of a LabelReorderingAction. */
|
|
37509
38671
|
interface ILabelReorderingAction {
|
|
37510
38672
|
|
|
@@ -41942,6 +43104,109 @@ export namespace waproto {
|
|
|
41942
43104
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
41943
43105
|
}
|
|
41944
43106
|
|
|
43107
|
+
/** Properties of a TapLinkAction. */
|
|
43108
|
+
interface ITapLinkAction {
|
|
43109
|
+
|
|
43110
|
+
/** TapLinkAction title */
|
|
43111
|
+
title?: (string|null);
|
|
43112
|
+
|
|
43113
|
+
/** TapLinkAction tapUrl */
|
|
43114
|
+
tapUrl?: (string|null);
|
|
43115
|
+
}
|
|
43116
|
+
|
|
43117
|
+
/** Represents a TapLinkAction. */
|
|
43118
|
+
class TapLinkAction implements ITapLinkAction {
|
|
43119
|
+
|
|
43120
|
+
/**
|
|
43121
|
+
* Constructs a new TapLinkAction.
|
|
43122
|
+
* @param [properties] Properties to set
|
|
43123
|
+
*/
|
|
43124
|
+
constructor(properties?: waproto.ITapLinkAction);
|
|
43125
|
+
|
|
43126
|
+
/** TapLinkAction title. */
|
|
43127
|
+
public title?: (string|null);
|
|
43128
|
+
|
|
43129
|
+
/** TapLinkAction tapUrl. */
|
|
43130
|
+
public tapUrl?: (string|null);
|
|
43131
|
+
|
|
43132
|
+
/**
|
|
43133
|
+
* Creates a new TapLinkAction instance using the specified properties.
|
|
43134
|
+
* @param [properties] Properties to set
|
|
43135
|
+
* @returns TapLinkAction instance
|
|
43136
|
+
*/
|
|
43137
|
+
public static create(properties?: waproto.ITapLinkAction): waproto.TapLinkAction;
|
|
43138
|
+
|
|
43139
|
+
/**
|
|
43140
|
+
* Encodes the specified TapLinkAction message. Does not implicitly {@link waproto.TapLinkAction.verify|verify} messages.
|
|
43141
|
+
* @param message TapLinkAction message or plain object to encode
|
|
43142
|
+
* @param [writer] Writer to encode to
|
|
43143
|
+
* @returns Writer
|
|
43144
|
+
*/
|
|
43145
|
+
public static encode(message: waproto.ITapLinkAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
43146
|
+
|
|
43147
|
+
/**
|
|
43148
|
+
* Encodes the specified TapLinkAction message, length delimited. Does not implicitly {@link waproto.TapLinkAction.verify|verify} messages.
|
|
43149
|
+
* @param message TapLinkAction message or plain object to encode
|
|
43150
|
+
* @param [writer] Writer to encode to
|
|
43151
|
+
* @returns Writer
|
|
43152
|
+
*/
|
|
43153
|
+
public static encodeDelimited(message: waproto.ITapLinkAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
43154
|
+
|
|
43155
|
+
/**
|
|
43156
|
+
* Decodes a TapLinkAction message from the specified reader or buffer.
|
|
43157
|
+
* @param reader Reader or buffer to decode from
|
|
43158
|
+
* @param [length] Message length if known beforehand
|
|
43159
|
+
* @returns TapLinkAction
|
|
43160
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
43161
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
43162
|
+
*/
|
|
43163
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.TapLinkAction;
|
|
43164
|
+
|
|
43165
|
+
/**
|
|
43166
|
+
* Decodes a TapLinkAction message from the specified reader or buffer, length delimited.
|
|
43167
|
+
* @param reader Reader or buffer to decode from
|
|
43168
|
+
* @returns TapLinkAction
|
|
43169
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
43170
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
43171
|
+
*/
|
|
43172
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.TapLinkAction;
|
|
43173
|
+
|
|
43174
|
+
/**
|
|
43175
|
+
* Verifies a TapLinkAction message.
|
|
43176
|
+
* @param message Plain object to verify
|
|
43177
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
43178
|
+
*/
|
|
43179
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
43180
|
+
|
|
43181
|
+
/**
|
|
43182
|
+
* Creates a TapLinkAction message from a plain object. Also converts values to their respective internal types.
|
|
43183
|
+
* @param object Plain object
|
|
43184
|
+
* @returns TapLinkAction
|
|
43185
|
+
*/
|
|
43186
|
+
public static fromObject(object: { [k: string]: any }): waproto.TapLinkAction;
|
|
43187
|
+
|
|
43188
|
+
/**
|
|
43189
|
+
* Creates a plain object from a TapLinkAction message. Also converts values to other types if specified.
|
|
43190
|
+
* @param message TapLinkAction
|
|
43191
|
+
* @param [options] Conversion options
|
|
43192
|
+
* @returns Plain object
|
|
43193
|
+
*/
|
|
43194
|
+
public static toObject(message: waproto.TapLinkAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
43195
|
+
|
|
43196
|
+
/**
|
|
43197
|
+
* Converts this TapLinkAction to JSON.
|
|
43198
|
+
* @returns JSON object
|
|
43199
|
+
*/
|
|
43200
|
+
public toJSON(): { [k: string]: any };
|
|
43201
|
+
|
|
43202
|
+
/**
|
|
43203
|
+
* Gets the default type url for TapLinkAction
|
|
43204
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
43205
|
+
* @returns The default type url
|
|
43206
|
+
*/
|
|
43207
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
43208
|
+
}
|
|
43209
|
+
|
|
41945
43210
|
/** Properties of a TemplateButton. */
|
|
41946
43211
|
interface ITemplateButton {
|
|
41947
43212
|
|
|
@@ -43726,6 +44991,9 @@ export namespace waproto {
|
|
|
43726
44991
|
|
|
43727
44992
|
/** WebMessageInfo statusMentionMessageInfo */
|
|
43728
44993
|
statusMentionMessageInfo?: (waproto.IStatusMentionMessage|null);
|
|
44994
|
+
|
|
44995
|
+
/** WebMessageInfo isSupportAiMessage */
|
|
44996
|
+
isSupportAiMessage?: (boolean|null);
|
|
43729
44997
|
}
|
|
43730
44998
|
|
|
43731
44999
|
/** Represents a WebMessageInfo. */
|
|
@@ -43911,6 +45179,9 @@ export namespace waproto {
|
|
|
43911
45179
|
/** WebMessageInfo statusMentionMessageInfo. */
|
|
43912
45180
|
public statusMentionMessageInfo?: (waproto.IStatusMentionMessage|null);
|
|
43913
45181
|
|
|
45182
|
+
/** WebMessageInfo isSupportAiMessage. */
|
|
45183
|
+
public isSupportAiMessage?: (boolean|null);
|
|
45184
|
+
|
|
43914
45185
|
/**
|
|
43915
45186
|
* Creates a new WebMessageInfo instance using the specified properties.
|
|
43916
45187
|
* @param [properties] Properties to set
|