chat.getHistory is not a function

The sendToAll function of the ChatClient object works fine.
But I couldn’t call getHistory.

let chat = zmClient.getChatClient();
const historyChatList = chat.getHistory();

Browser Console Error
index.js_+14_modules:648 Uncaught TypeError: chat.getHistory is not a function
at HTMLButtonElement.onClick (index.js
onClick @ index.js

Which Web Video SDK version?

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:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

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.

Hey @k-build , thanks for posting and using Zoom!

Do you have this step?



Hey @tommy ,
I was try to call getFeatureModule but I couldn’t call as well.

I’m using the client as a VideoClient instance.
What instance of client should I use to use getFeatureModule?


Hey @k-build ,

We found the bug and will fix it in the next release. (ZOOM-330957)

Thanks for your patience! :slight_smile:


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.