toggleChatMute abstract method

Future<void> toggleChatMute(
  1. ChatId id,
  2. 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);