toggleChatMute method
- ChatId id,
- MuteDuration? mute
Mutes or unmutes the specified Chat for the authenticated MyUser. Overrides an existing mute even if it's longer.
Implementation
Future<void> toggleChatMute(ChatId id, MuteDuration? mute) async {
Log.debug('toggleChatMute($id, $mute)', '$runtimeType');
await _chatRepository.toggleChatMute(id, mute);
}