Issue description
When joining a chatroom, use the messageCount
parameter in the API to control how many history messages are retrieved. If the content doesn’t match expectations, follow these steps to troubleshoot.
Troubleshooting steps
-
Check the API parameters. The
messageCount
range is 1 to 50. Use -1 to retrieve no history messages, or 0 to use the SDK’s default setting (10 messages). -
In the RC Console, ensure the Message filtering on join switch is on. If a fixed message type is set, the client can only retrieve messages of that type via the API: