-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
42 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -511,6 +511,10 @@ const browserSessionToken = await client.getSessionTokenBrowser(); | |
const getBlockList = await client.getBlockList(); | ||
|
||
// Retrieve messages in chat | ||
//chatID chat id | ||
//includeMe will be by default true, if you do not want to pass false | ||
//includeNotifications will be by default true, if you do not want to pass false | ||
//const Messages = await client.getAllMessagesInChat(chatID, includeMe, includeNotifications) | ||
const Messages = await client.getAllMessagesInChat('[email protected]'); | ||
|
||
// Retrieve more chat message | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters