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 later query are three separate stages. See Group overview for how to update the matching group profile from the event.
Was this page helpful?