SDKsWASM
Publish a group announcement
Set or update a group announcement.
notification is the group announcement and differs from introduction, which describes the group.
await openimsdk.setGroupInfo({
groupID,
notification: announcement.trim(),
});Pass an empty string to clear the announcement. OpenIMServer validates permission to change it. The client can hide the action based on the current member role but must not rely on frontend checks alone.
Promise completion, OnGroupInfoChanged delivery, and a reconciliation query are three stages. See Group overview for event merging.
Was this page helpful?