Rongyun SDK new users join the group to load historical news

Rongyun SDK new users join the group to load historical news

Record a small function of Rongyun SDK, share it

background

The group function in Rongyun SDK is useful in the project. When the product says it needs newcomers to join the group, you can see historical news.

I thought it could be obtained directly, but it is not.

Later, through communication with customers, I discovered that there is a free basic function in the developer backend of Rongyun.

New users get historical messages before joining the group

By default, users can only view the messages in the group after joining the group, and can view the historical messages before joining the group after being turned on. This function can only be used after the single group chat message cloud storage function is activated.

Record it to avoid forgetting, if you have similar functions, you can refer to it.

Open address

Guess you like

Origin blog.51cto.com/15056506/2678314