onMuteListAddedFromGroup method Null safety

void onMuteListAddedFromGroup(
  1. String groupId,
  2. List<String> mutes,
  3. int? muteExpire
)

Occurs when one or more group members are muted.

Note: The mute function is different from a block list. A user, when muted, can still see group messages, but cannot send messages in the group. However, a user on the block list can neither see nor send group messages.

Param groupId The group ID.

Param mutes The member(s) added to the mute list.

Param muteExpire The mute duration in milliseconds.

Implementation

void onMuteListAddedFromGroup(
    String groupId, List<String> mutes, int? muteExpire);