Description
The sendToAll function of the ChatClient object works fine.
But I couldn’t call getHistory.
let chat = zmClient.getChatClient();
const historyChatList = chat.getHistory();
console.log(historyChatList);
Browser Console Error
index.js_+14_modules:648 Uncaught TypeError: chat.getHistory is not a function
at HTMLButtonElement.onClick (index.js+14_modules:648)
onClick @ index.js+_14_modules:648
Which Web Video SDK version?
v1.1.6
Video SDK Code Snippets
The code snippets that are causing the error / issue so we can reproduce.
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Go to ‘…’
- Click on ‘…’
- Scroll down to ‘…’
- See error
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
- Device: [e.g. Macbook Pro]
- OS: [e.g. macOS 11]
- Browser: [e.g. Chrome]
- Browser Version [e.g. 88.0.4324.150 (Official Build) (x86_64)]
Additional context
Add any other context about the problem here.