@wppconnect/server 1.6.1 → 1.6.3

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/dist/swagger.json CHANGED
@@ -1604,6 +1604,685 @@
1604
1604
  "deprecated": false
1605
1605
  }
1606
1606
  },
1607
+ "/get-messages/{phone}": {
1608
+ "get": {
1609
+ "tags": ["Chat"],
1610
+ "summary": "Get messages in Chat",
1611
+ "description": "Get messages in chat.",
1612
+ "operationId": "GetMessages",
1613
+ "parameters": [
1614
+ {
1615
+ "name": "Content-Type",
1616
+ "in": "header",
1617
+ "description": "",
1618
+ "required": true,
1619
+ "style": "simple",
1620
+ "schema": {
1621
+ "type": "string",
1622
+ "example": "application/json"
1623
+ }
1624
+ },
1625
+ {
1626
+ "in": "path",
1627
+ "name": "phone",
1628
+ "schema": {
1629
+ "type": "string"
1630
+ },
1631
+ "required": true,
1632
+ "description": "The contact ID, with @c.us or @g.us"
1633
+ },
1634
+
1635
+ {
1636
+ "name": "count",
1637
+ "in": "query",
1638
+ "description": "Quantity of messages. Specify -1 to get everything (may take a long time).",
1639
+ "required": false,
1640
+ "style": "simple",
1641
+ "schema": {
1642
+ "type": "integer",
1643
+ "example": "20"
1644
+ }
1645
+ },
1646
+ {
1647
+ "name": "id",
1648
+ "in": "query",
1649
+ "description": "Get messages after/before this message ID.",
1650
+ "required": false,
1651
+ "style": "simple",
1652
+ "schema": {
1653
+ "type": "string",
1654
+ "example": ""
1655
+ }
1656
+ },
1657
+ {
1658
+ "name": "direction",
1659
+ "in": "query",
1660
+ "description": "Specify the direction in which the messages are gonna be retrieved. If present, must be 'after' or 'before'",
1661
+ "required": false,
1662
+ "style": "simple",
1663
+ "schema": {
1664
+ "type": "string",
1665
+ "example": "before"
1666
+ }
1667
+ }
1668
+ ],
1669
+ "responses": {
1670
+ "200": {
1671
+ "description": "OK",
1672
+ "headers": {
1673
+ "X-Powered-By": {
1674
+ "content": {
1675
+ "text/plain": {
1676
+ "schema": {
1677
+ "type": "string"
1678
+ },
1679
+ "example": "Express"
1680
+ }
1681
+ }
1682
+ },
1683
+ "Access-Control-Allow-Origin": {
1684
+ "content": {
1685
+ "text/plain": {
1686
+ "schema": {
1687
+ "type": "string"
1688
+ },
1689
+ "example": "*"
1690
+ }
1691
+ }
1692
+ },
1693
+ "Content-Length": {
1694
+ "content": {
1695
+ "text/plain": {
1696
+ "schema": {
1697
+ "type": "string"
1698
+ },
1699
+ "example": "14300"
1700
+ }
1701
+ }
1702
+ },
1703
+ "ETag": {
1704
+ "content": {
1705
+ "text/plain": {
1706
+ "schema": {
1707
+ "type": "string"
1708
+ },
1709
+ "example": "W/\"37dc-Gh3xKCwbIdtSuq3hb/nlZD5wjYE\""
1710
+ }
1711
+ }
1712
+ },
1713
+ "Date": {
1714
+ "content": {
1715
+ "text/plain": {
1716
+ "schema": {
1717
+ "type": "string"
1718
+ },
1719
+ "example": "Thu, 13 May 2021 19:34:45 GMT"
1720
+ }
1721
+ }
1722
+ },
1723
+ "Connection": {
1724
+ "content": {
1725
+ "text/plain": {
1726
+ "schema": {
1727
+ "type": "string"
1728
+ },
1729
+ "example": "keep-alive"
1730
+ }
1731
+ }
1732
+ },
1733
+ "Keep-Alive": {
1734
+ "content": {
1735
+ "text/plain": {
1736
+ "schema": {
1737
+ "type": "string"
1738
+ },
1739
+ "example": "timeout=5"
1740
+ }
1741
+ }
1742
+ }
1743
+ },
1744
+ "content": {
1745
+ "application/json; charset=utf-8": {
1746
+ "schema": {
1747
+ "$ref": "#/components/schemas/AllMessagesinChat"
1748
+ },
1749
+ "example": {
1750
+ "status": "success",
1751
+ "response": [
1752
+ {
1753
+ "id": "true_556593077171@c.us_3EB02AA63F5EF81C3EA5",
1754
+ "body": "mensagem de resposta",
1755
+ "type": "chat",
1756
+ "t": 1620745135,
1757
+ "notifyName": "",
1758
+ "from": "556592424425@c.us",
1759
+ "to": "556593077171@c.us",
1760
+ "self": "in",
1761
+ "ack": 3,
1762
+ "invis": true,
1763
+ "star": false,
1764
+ "isFromTemplate": false,
1765
+ "thumbnail": "",
1766
+ "richPreviewType": 0,
1767
+ "quotedMsg": {
1768
+ "type": "chat",
1769
+ "body": "Oi oi oi"
1770
+ },
1771
+ "quotedStanzaID": "BA86D62376F08B22171EB46A18B23B13",
1772
+ "quotedParticipant": "556593077171@c.us",
1773
+ "mentionedJidList": [],
1774
+ "isVcardOverMmsDocument": false,
1775
+ "labels": [],
1776
+ "isDynamicReplyButtonsMsg": false,
1777
+ "chatId": {
1778
+ "server": "c.us",
1779
+ "user": "556593077171",
1780
+ "_serialized": "556593077171@c.us"
1781
+ },
1782
+ "fromMe": true,
1783
+ "sender": {
1784
+ "id": {
1785
+ "server": "c.us",
1786
+ "user": "556592424425",
1787
+ "_serialized": "556592424425@c.us"
1788
+ },
1789
+ "type": "in",
1790
+ "formattedName": "Você",
1791
+ "isMe": true,
1792
+ "isMyContact": false,
1793
+ "isPSA": false,
1794
+ "isUser": true,
1795
+ "isWAContact": true,
1796
+ "profilePicThumbObj": {
1797
+ "eurl": "https://pps.whatsapp.net/v/t61.24694-24/186785458_1803385806500761_5876885036408672004_n.jpg?ccb=11-4&oh=3d92276120fc2ac1675cd4c7e4525151&oe=60A1F201",
1798
+ "id": {
1799
+ "server": "c.us",
1800
+ "user": "556592424425",
1801
+ "_serialized": "556592424425@c.us"
1802
+ },
1803
+ "img": "https://web.whatsapp.com/pp?e=https%3A%2F%2Fpps.whatsapp.net%2Fv%2Ft61.24694-24%2F186785458_1803385806500761_5876885036408672004_n.jpg%3Fccb%3D11-4%26oh%3D3d92276120fc2ac1675cd4c7e4525151%26oe%3D60A1F201&t=s&u=556592424425%40c.us&i=1620929335&n=oRzYouRjXhp0to8ecMKtlUAbYfCIU1r%2BPEkB4MiTDts%3D",
1804
+ "imgFull": "https://web.whatsapp.com/pp?e=https%3A%2F%2Fpps.whatsapp.net%2Fv%2Ft61.24694-24%2F186785458_1803385806500761_5876885036408672004_n.jpg%3Fccb%3D11-4%26oh%3D3d92276120fc2ac1675cd4c7e4525151%26oe%3D60A1F201&t=l&u=556592424425%40c.us&i=1620929335&n=oRzYouRjXhp0to8ecMKtlUAbYfCIU1r%2BPEkB4MiTDts%3D",
1805
+ "raw": null,
1806
+ "tag": "1620929335"
1807
+ },
1808
+ "msgs": null
1809
+ },
1810
+ "timestamp": 1620745135,
1811
+ "content": "mensagem de resposta",
1812
+ "isGroupMsg": false,
1813
+ "isMedia": false,
1814
+ "isNotification": false,
1815
+ "isPSA": false,
1816
+ "chat": {
1817
+ "id": {
1818
+ "server": "c.us",
1819
+ "user": "556593077171",
1820
+ "_serialized": "556593077171@c.us"
1821
+ },
1822
+ "pendingMsgs": false,
1823
+ "t": 1620851002,
1824
+ "unreadCount": 0,
1825
+ "archive": false,
1826
+ "isReadOnly": false,
1827
+ "muteExpiration": 0,
1828
+ "name": "Anselmo",
1829
+ "notSpam": true,
1830
+ "pin": 0,
1831
+ "ephemeralDuration": 0,
1832
+ "ephemeralSettingTimestamp": 0,
1833
+ "msgs": null,
1834
+ "kind": "chat",
1835
+ "isBroadcast": false,
1836
+ "isGroup": false,
1837
+ "isUser": true,
1838
+ "contact": {
1839
+ "id": {
1840
+ "server": "c.us",
1841
+ "user": "556593077171",
1842
+ "_serialized": "556593077171@c.us"
1843
+ },
1844
+ "name": "Eu",
1845
+ "shortName": "Eu",
1846
+ "pushname": "Anselmo Schaefler",
1847
+ "type": "in",
1848
+ "isBusiness": false,
1849
+ "isEnterprise": false,
1850
+ "statusMute": false,
1851
+ "labels": [],
1852
+ "formattedName": "Eu",
1853
+ "isMe": false,
1854
+ "isMyContact": true,
1855
+ "isPSA": false,
1856
+ "isUser": true,
1857
+ "isWAContact": true,
1858
+ "profilePicThumbObj": {
1859
+ "eurl": "https://pps.whatsapp.net/v/t61.24694-24/69632581_431433907486875_637018468327096320_n.jpg?ccb=11-4&oh=d50ef70e6638d3121639ab454604becb&oe=60A1D0D6",
1860
+ "id": {
1861
+ "server": "c.us",
1862
+ "user": "556593077171",
1863
+ "_serialized": "556593077171@c.us"
1864
+ },
1865
+ "img": "https://web.whatsapp.com/pp?e=https%3A%2F%2Fpps.whatsapp.net%2Fv%2Ft61.24694-24%2F69632581_431433907486875_637018468327096320_n.jpg%3Fccb%3D11-4%26oh%3Dd50ef70e6638d3121639ab454604becb%26oe%3D60A1D0D6&t=s&u=556593077171%40c.us&i=1570738292&n=s8OQzBbanWyT1fpXxjaymfva028aImlAWhPuRa%2FFil8%3D",
1866
+ "imgFull": "https://web.whatsapp.com/pp?e=https%3A%2F%2Fpps.whatsapp.net%2Fv%2Ft61.24694-24%2F69632581_431433907486875_637018468327096320_n.jpg%3Fccb%3D11-4%26oh%3Dd50ef70e6638d3121639ab454604becb%26oe%3D60A1D0D6&t=l&u=556593077171%40c.us&i=1570738292&n=s8OQzBbanWyT1fpXxjaymfva028aImlAWhPuRa%2FFil8%3D",
1867
+ "raw": null,
1868
+ "tag": "1570738292"
1869
+ },
1870
+ "msgs": null
1871
+ },
1872
+ "groupMetadata": null,
1873
+ "presence": {
1874
+ "id": {
1875
+ "server": "c.us",
1876
+ "user": "556593077171",
1877
+ "_serialized": "556593077171@c.us"
1878
+ },
1879
+ "chatstates": []
1880
+ }
1881
+ },
1882
+ "quotedMsgObj": {
1883
+ "id": "false_556593077171@c.us_BA86D62376F08B22171EB46A18B23B13",
1884
+ "body": "Oi oi oi",
1885
+ "type": "chat",
1886
+ "from": "556593077171@c.us",
1887
+ "to": "556592424425@c.us",
1888
+ "author": "556593077171@c.us",
1889
+ "self": "in",
1890
+ "star": false,
1891
+ "isFromTemplate": false,
1892
+ "mentionedJidList": [],
1893
+ "isVcardOverMmsDocument": false,
1894
+ "isForwarded": false,
1895
+ "isDynamicReplyButtonsMsg": false,
1896
+ "chatId": {
1897
+ "server": "c.us",
1898
+ "user": "556593077171",
1899
+ "_serialized": "556593077171@c.us"
1900
+ },
1901
+ "fromMe": false,
1902
+ "sender": {
1903
+ "id": {
1904
+ "server": "c.us",
1905
+ "user": "556593077171",
1906
+ "_serialized": "556593077171@c.us"
1907
+ },
1908
+ "name": "Eu",
1909
+ "shortName": "Eu",
1910
+ "pushname": "Anselmo Schaefler",
1911
+ "type": "in",
1912
+ "isBusiness": false,
1913
+ "isEnterprise": false,
1914
+ "statusMute": false,
1915
+ "labels": [],
1916
+ "formattedName": "Eu",
1917
+ "isMe": false,
1918
+ "isMyContact": true,
1919
+ "isPSA": false,
1920
+ "isUser": true,
1921
+ "isWAContact": true,
1922
+ "profilePicThumbObj": {
1923
+ "eurl": "https://pps.whatsapp.net/v/t61.24694-24/69632581_431433907486875_637018468327096320_n.jpg?ccb=11-4&oh=d50ef70e6638d3121639ab454604becb&oe=60A1D0D6",
1924
+ "id": {
1925
+ "server": "c.us",
1926
+ "user": "556593077171",
1927
+ "_serialized": "556593077171@c.us"
1928
+ },
1929
+ "img": "https://web.whatsapp.com/pp?e=https%3A%2F%2Fpps.whatsapp.net%2Fv%2Ft61.24694-24%2F69632581_431433907486875_637018468327096320_n.jpg%3Fccb%3D11-4%26oh%3Dd50ef70e6638d3121639ab454604becb%26oe%3D60A1D0D6&t=s&u=556593077171%40c.us&i=1570738292&n=s8OQzBbanWyT1fpXxjaymfva028aImlAWhPuRa%2FFil8%3D",
1930
+ "imgFull": "https://web.whatsapp.com/pp?e=https%3A%2F%2Fpps.whatsapp.net%2Fv%2Ft61.24694-24%2F69632581_431433907486875_637018468327096320_n.jpg%3Fccb%3D11-4%26oh%3Dd50ef70e6638d3121639ab454604becb%26oe%3D60A1D0D6&t=l&u=556593077171%40c.us&i=1570738292&n=s8OQzBbanWyT1fpXxjaymfva028aImlAWhPuRa%2FFil8%3D",
1931
+ "raw": null,
1932
+ "tag": "1570738292"
1933
+ },
1934
+ "msgs": null
1935
+ },
1936
+ "content": "Oi oi oi",
1937
+ "isGroupMsg": false,
1938
+ "isMedia": false,
1939
+ "isNotification": false,
1940
+ "isPSA": false,
1941
+ "chat": {
1942
+ "id": {
1943
+ "server": "c.us",
1944
+ "user": "556593077171",
1945
+ "_serialized": "556593077171@c.us"
1946
+ },
1947
+ "pendingMsgs": false,
1948
+ "t": 1620851002,
1949
+ "unreadCount": 0,
1950
+ "archive": false,
1951
+ "isReadOnly": false,
1952
+ "muteExpiration": 0,
1953
+ "name": "Anselmo",
1954
+ "notSpam": true,
1955
+ "pin": 0,
1956
+ "ephemeralDuration": 0,
1957
+ "ephemeralSettingTimestamp": 0,
1958
+ "msgs": null,
1959
+ "kind": "chat",
1960
+ "isBroadcast": false,
1961
+ "isGroup": false,
1962
+ "isUser": true,
1963
+ "contact": {
1964
+ "id": {
1965
+ "server": "c.us",
1966
+ "user": "556593077171",
1967
+ "_serialized": "556593077171@c.us"
1968
+ },
1969
+ "name": "Eu",
1970
+ "shortName": "Eu",
1971
+ "pushname": "Anselmo Schaefler",
1972
+ "type": "in",
1973
+ "isBusiness": false,
1974
+ "isEnterprise": false,
1975
+ "statusMute": false,
1976
+ "labels": [],
1977
+ "formattedName": "Eu",
1978
+ "isMe": false,
1979
+ "isMyContact": true,
1980
+ "isPSA": false,
1981
+ "isUser": true,
1982
+ "isWAContact": true,
1983
+ "profilePicThumbObj": {
1984
+ "eurl": "https://pps.whatsapp.net/v/t61.24694-24/69632581_431433907486875_637018468327096320_n.jpg?ccb=11-4&oh=d50ef70e6638d3121639ab454604becb&oe=60A1D0D6",
1985
+ "id": {
1986
+ "server": "c.us",
1987
+ "user": "556593077171",
1988
+ "_serialized": "556593077171@c.us"
1989
+ },
1990
+ "img": "https://web.whatsapp.com/pp?e=https%3A%2F%2Fpps.whatsapp.net%2Fv%2Ft61.24694-24%2F69632581_431433907486875_637018468327096320_n.jpg%3Fccb%3D11-4%26oh%3Dd50ef70e6638d3121639ab454604becb%26oe%3D60A1D0D6&t=s&u=556593077171%40c.us&i=1570738292&n=s8OQzBbanWyT1fpXxjaymfva028aImlAWhPuRa%2FFil8%3D",
1991
+ "imgFull": "https://web.whatsapp.com/pp?e=https%3A%2F%2Fpps.whatsapp.net%2Fv%2Ft61.24694-24%2F69632581_431433907486875_637018468327096320_n.jpg%3Fccb%3D11-4%26oh%3Dd50ef70e6638d3121639ab454604becb%26oe%3D60A1D0D6&t=l&u=556593077171%40c.us&i=1570738292&n=s8OQzBbanWyT1fpXxjaymfva028aImlAWhPuRa%2FFil8%3D",
1992
+ "raw": null,
1993
+ "tag": "1570738292"
1994
+ },
1995
+ "msgs": null
1996
+ },
1997
+ "groupMetadata": null,
1998
+ "presence": {
1999
+ "id": {
2000
+ "server": "c.us",
2001
+ "user": "556593077171",
2002
+ "_serialized": "556593077171@c.us"
2003
+ },
2004
+ "chatstates": []
2005
+ }
2006
+ },
2007
+ "quotedMsgObj": null,
2008
+ "mediaData": {},
2009
+ "reply": {}
2010
+ },
2011
+ "mediaData": {},
2012
+ "reply": {}
2013
+ },
2014
+ {
2015
+ "id": "false_556593077171@c.us_1B69CFDC0BDBAB37B2B628D90CBA0F47",
2016
+ "body": "Dhdh",
2017
+ "type": "chat",
2018
+ "t": 1620850522,
2019
+ "notifyName": "",
2020
+ "from": "556593077171@c.us",
2021
+ "to": "556592424425@c.us",
2022
+ "self": "in",
2023
+ "ack": 0,
2024
+ "invis": true,
2025
+ "star": false,
2026
+ "isFromTemplate": false,
2027
+ "broadcast": false,
2028
+ "mentionedJidList": [],
2029
+ "isVcardOverMmsDocument": false,
2030
+ "isForwarded": false,
2031
+ "labels": [],
2032
+ "ephemeralOutOfSync": false,
2033
+ "isDynamicReplyButtonsMsg": false,
2034
+ "chatId": {
2035
+ "server": "c.us",
2036
+ "user": "556593077171",
2037
+ "_serialized": "556593077171@c.us"
2038
+ },
2039
+ "fromMe": false,
2040
+ "sender": {
2041
+ "id": {
2042
+ "server": "c.us",
2043
+ "user": "556593077171",
2044
+ "_serialized": "556593077171@c.us"
2045
+ },
2046
+ "name": "Eu",
2047
+ "shortName": "Eu",
2048
+ "pushname": "Anselmo Schaefler",
2049
+ "type": "in",
2050
+ "isBusiness": false,
2051
+ "isEnterprise": false,
2052
+ "statusMute": false,
2053
+ "labels": [],
2054
+ "formattedName": "Eu",
2055
+ "isMe": false,
2056
+ "isMyContact": true,
2057
+ "isPSA": false,
2058
+ "isUser": true,
2059
+ "isWAContact": true,
2060
+ "profilePicThumbObj": {
2061
+ "eurl": "https://pps.whatsapp.net/v/t61.24694-24/69632581_431433907486875_637018468327096320_n.jpg?ccb=11-4&oh=d50ef70e6638d3121639ab454604becb&oe=60A1D0D6",
2062
+ "id": {
2063
+ "server": "c.us",
2064
+ "user": "556593077171",
2065
+ "_serialized": "556593077171@c.us"
2066
+ },
2067
+ "img": "https://web.whatsapp.com/pp?e=https%3A%2F%2Fpps.whatsapp.net%2Fv%2Ft61.24694-24%2F69632581_431433907486875_637018468327096320_n.jpg%3Fccb%3D11-4%26oh%3Dd50ef70e6638d3121639ab454604becb%26oe%3D60A1D0D6&t=s&u=556593077171%40c.us&i=1570738292&n=s8OQzBbanWyT1fpXxjaymfva028aImlAWhPuRa%2FFil8%3D",
2068
+ "imgFull": "https://web.whatsapp.com/pp?e=https%3A%2F%2Fpps.whatsapp.net%2Fv%2Ft61.24694-24%2F69632581_431433907486875_637018468327096320_n.jpg%3Fccb%3D11-4%26oh%3Dd50ef70e6638d3121639ab454604becb%26oe%3D60A1D0D6&t=l&u=556593077171%40c.us&i=1570738292&n=s8OQzBbanWyT1fpXxjaymfva028aImlAWhPuRa%2FFil8%3D",
2069
+ "raw": null,
2070
+ "tag": "1570738292"
2071
+ },
2072
+ "msgs": null
2073
+ },
2074
+ "timestamp": 1620850522,
2075
+ "content": "Dhdh",
2076
+ "isGroupMsg": false,
2077
+ "isMedia": false,
2078
+ "isNotification": false,
2079
+ "isPSA": false,
2080
+ "chat": {
2081
+ "id": {
2082
+ "server": "c.us",
2083
+ "user": "556593077171",
2084
+ "_serialized": "556593077171@c.us"
2085
+ },
2086
+ "pendingMsgs": false,
2087
+ "t": 1620851002,
2088
+ "unreadCount": 0,
2089
+ "archive": false,
2090
+ "isReadOnly": false,
2091
+ "muteExpiration": 0,
2092
+ "name": "Anselmo",
2093
+ "notSpam": true,
2094
+ "pin": 0,
2095
+ "ephemeralDuration": 0,
2096
+ "ephemeralSettingTimestamp": 0,
2097
+ "msgs": null,
2098
+ "kind": "chat",
2099
+ "isBroadcast": false,
2100
+ "isGroup": false,
2101
+ "isUser": true,
2102
+ "contact": {
2103
+ "id": {
2104
+ "server": "c.us",
2105
+ "user": "556593077171",
2106
+ "_serialized": "556593077171@c.us"
2107
+ },
2108
+ "name": "Eu",
2109
+ "shortName": "Eu",
2110
+ "pushname": "Anselmo Schaefler",
2111
+ "type": "in",
2112
+ "isBusiness": false,
2113
+ "isEnterprise": false,
2114
+ "statusMute": false,
2115
+ "labels": [],
2116
+ "formattedName": "Eu",
2117
+ "isMe": false,
2118
+ "isMyContact": true,
2119
+ "isPSA": false,
2120
+ "isUser": true,
2121
+ "isWAContact": true,
2122
+ "profilePicThumbObj": {
2123
+ "eurl": "https://pps.whatsapp.net/v/t61.24694-24/69632581_431433907486875_637018468327096320_n.jpg?ccb=11-4&oh=d50ef70e6638d3121639ab454604becb&oe=60A1D0D6",
2124
+ "id": {
2125
+ "server": "c.us",
2126
+ "user": "556593077171",
2127
+ "_serialized": "556593077171@c.us"
2128
+ },
2129
+ "img": "https://web.whatsapp.com/pp?e=https%3A%2F%2Fpps.whatsapp.net%2Fv%2Ft61.24694-24%2F69632581_431433907486875_637018468327096320_n.jpg%3Fccb%3D11-4%26oh%3Dd50ef70e6638d3121639ab454604becb%26oe%3D60A1D0D6&t=s&u=556593077171%40c.us&i=1570738292&n=s8OQzBbanWyT1fpXxjaymfva028aImlAWhPuRa%2FFil8%3D",
2130
+ "imgFull": "https://web.whatsapp.com/pp?e=https%3A%2F%2Fpps.whatsapp.net%2Fv%2Ft61.24694-24%2F69632581_431433907486875_637018468327096320_n.jpg%3Fccb%3D11-4%26oh%3Dd50ef70e6638d3121639ab454604becb%26oe%3D60A1D0D6&t=l&u=556593077171%40c.us&i=1570738292&n=s8OQzBbanWyT1fpXxjaymfva028aImlAWhPuRa%2FFil8%3D",
2131
+ "raw": null,
2132
+ "tag": "1570738292"
2133
+ },
2134
+ "msgs": null
2135
+ },
2136
+ "groupMetadata": null,
2137
+ "presence": {
2138
+ "id": {
2139
+ "server": "c.us",
2140
+ "user": "556593077171",
2141
+ "_serialized": "556593077171@c.us"
2142
+ },
2143
+ "chatstates": []
2144
+ }
2145
+ },
2146
+ "quotedMsgObj": null,
2147
+ "mediaData": {},
2148
+ "reply": {}
2149
+ },
2150
+ {
2151
+ "id": "true_556593077171@c.us_3EB01FA502A921588DC7",
2152
+ "body": "ola tudo bem como vai",
2153
+ "type": "chat",
2154
+ "t": 1620851002,
2155
+ "notifyName": "",
2156
+ "from": "556592424425@c.us",
2157
+ "to": "556593077171@c.us",
2158
+ "self": "in",
2159
+ "ack": 3,
2160
+ "invis": true,
2161
+ "star": false,
2162
+ "isFromTemplate": false,
2163
+ "mentionedJidList": [],
2164
+ "isVcardOverMmsDocument": false,
2165
+ "isForwarded": false,
2166
+ "labels": [],
2167
+ "isDynamicReplyButtonsMsg": false,
2168
+ "chatId": {
2169
+ "server": "c.us",
2170
+ "user": "556593077171",
2171
+ "_serialized": "556593077171@c.us"
2172
+ },
2173
+ "fromMe": true,
2174
+ "sender": {
2175
+ "id": {
2176
+ "server": "c.us",
2177
+ "user": "556592424425",
2178
+ "_serialized": "556592424425@c.us"
2179
+ },
2180
+ "type": "in",
2181
+ "formattedName": "Você",
2182
+ "isMe": true,
2183
+ "isMyContact": false,
2184
+ "isPSA": false,
2185
+ "isUser": true,
2186
+ "isWAContact": true,
2187
+ "profilePicThumbObj": {
2188
+ "eurl": "https://pps.whatsapp.net/v/t61.24694-24/186785458_1803385806500761_5876885036408672004_n.jpg?ccb=11-4&oh=3d92276120fc2ac1675cd4c7e4525151&oe=60A1F201",
2189
+ "id": {
2190
+ "server": "c.us",
2191
+ "user": "556592424425",
2192
+ "_serialized": "556592424425@c.us"
2193
+ },
2194
+ "img": "https://web.whatsapp.com/pp?e=https%3A%2F%2Fpps.whatsapp.net%2Fv%2Ft61.24694-24%2F186785458_1803385806500761_5876885036408672004_n.jpg%3Fccb%3D11-4%26oh%3D3d92276120fc2ac1675cd4c7e4525151%26oe%3D60A1F201&t=s&u=556592424425%40c.us&i=1620929335&n=oRzYouRjXhp0to8ecMKtlUAbYfCIU1r%2BPEkB4MiTDts%3D",
2195
+ "imgFull": "https://web.whatsapp.com/pp?e=https%3A%2F%2Fpps.whatsapp.net%2Fv%2Ft61.24694-24%2F186785458_1803385806500761_5876885036408672004_n.jpg%3Fccb%3D11-4%26oh%3D3d92276120fc2ac1675cd4c7e4525151%26oe%3D60A1F201&t=l&u=556592424425%40c.us&i=1620929335&n=oRzYouRjXhp0to8ecMKtlUAbYfCIU1r%2BPEkB4MiTDts%3D",
2196
+ "raw": null,
2197
+ "tag": "1620929335"
2198
+ },
2199
+ "msgs": null
2200
+ },
2201
+ "timestamp": 1620851002,
2202
+ "content": "ola tudo bem como vai",
2203
+ "isGroupMsg": false,
2204
+ "isMedia": false,
2205
+ "isNotification": false,
2206
+ "isPSA": false,
2207
+ "chat": {
2208
+ "id": {
2209
+ "server": "c.us",
2210
+ "user": "556593077171",
2211
+ "_serialized": "556593077171@c.us"
2212
+ },
2213
+ "pendingMsgs": false,
2214
+ "t": 1620851002,
2215
+ "unreadCount": 0,
2216
+ "archive": false,
2217
+ "isReadOnly": false,
2218
+ "muteExpiration": 0,
2219
+ "name": "Anselmo",
2220
+ "notSpam": true,
2221
+ "pin": 0,
2222
+ "ephemeralDuration": 0,
2223
+ "ephemeralSettingTimestamp": 0,
2224
+ "msgs": null,
2225
+ "kind": "chat",
2226
+ "isBroadcast": false,
2227
+ "isGroup": false,
2228
+ "isUser": true,
2229
+ "contact": {
2230
+ "id": {
2231
+ "server": "c.us",
2232
+ "user": "556593077171",
2233
+ "_serialized": "556593077171@c.us"
2234
+ },
2235
+ "name": "Eu",
2236
+ "shortName": "Eu",
2237
+ "pushname": "Anselmo Schaefler",
2238
+ "type": "in",
2239
+ "isBusiness": false,
2240
+ "isEnterprise": false,
2241
+ "statusMute": false,
2242
+ "labels": [],
2243
+ "formattedName": "Eu",
2244
+ "isMe": false,
2245
+ "isMyContact": true,
2246
+ "isPSA": false,
2247
+ "isUser": true,
2248
+ "isWAContact": true,
2249
+ "profilePicThumbObj": {
2250
+ "eurl": "https://pps.whatsapp.net/v/t61.24694-24/69632581_431433907486875_637018468327096320_n.jpg?ccb=11-4&oh=d50ef70e6638d3121639ab454604becb&oe=60A1D0D6",
2251
+ "id": {
2252
+ "server": "c.us",
2253
+ "user": "556593077171",
2254
+ "_serialized": "556593077171@c.us"
2255
+ },
2256
+ "img": "https://web.whatsapp.com/pp?e=https%3A%2F%2Fpps.whatsapp.net%2Fv%2Ft61.24694-24%2F69632581_431433907486875_637018468327096320_n.jpg%3Fccb%3D11-4%26oh%3Dd50ef70e6638d3121639ab454604becb%26oe%3D60A1D0D6&t=s&u=556593077171%40c.us&i=1570738292&n=s8OQzBbanWyT1fpXxjaymfva028aImlAWhPuRa%2FFil8%3D",
2257
+ "imgFull": "https://web.whatsapp.com/pp?e=https%3A%2F%2Fpps.whatsapp.net%2Fv%2Ft61.24694-24%2F69632581_431433907486875_637018468327096320_n.jpg%3Fccb%3D11-4%26oh%3Dd50ef70e6638d3121639ab454604becb%26oe%3D60A1D0D6&t=l&u=556593077171%40c.us&i=1570738292&n=s8OQzBbanWyT1fpXxjaymfva028aImlAWhPuRa%2FFil8%3D",
2258
+ "raw": null,
2259
+ "tag": "1570738292"
2260
+ },
2261
+ "msgs": null
2262
+ },
2263
+ "groupMetadata": null,
2264
+ "presence": {
2265
+ "id": {
2266
+ "server": "c.us",
2267
+ "user": "556593077171",
2268
+ "_serialized": "556593077171@c.us"
2269
+ },
2270
+ "chatstates": []
2271
+ }
2272
+ },
2273
+ "quotedMsgObj": null,
2274
+ "mediaData": {},
2275
+ "reply": {}
2276
+ }
2277
+ ]
2278
+ }
2279
+ }
2280
+ }
2281
+ }
2282
+ },
2283
+ "deprecated": false
2284
+ }
2285
+ },
1607
2286
  "/all-messages-in-chat": {
1608
2287
  "get": {
1609
2288
  "tags": ["Chat"],