unmutes the chat. :returns: None
(self)
| 182 | raise ValueError("Call to dc_set_chat_mute_duration failed") |
| 183 | |
| 184 | def unmute(self) -> None: |
| 185 | """unmutes the chat. |
| 186 | |
| 187 | :returns: None |
| 188 | """ |
| 189 | ret = lib.dc_set_chat_mute_duration(self.account._dc_context, self.id, 0) |
| 190 | if not bool(ret): |
| 191 | raise ValueError("Failed to unmute chat") |
| 192 | |
| 193 | def pin(self) -> None: |
| 194 | """Pin the chat.""" |