return dictionary with summary information.
(self)
| 165 | return lib.dc_chat_get_color(self._dc_chat) |
| 166 | |
| 167 | def get_summary(self): |
| 168 | """return dictionary with summary information.""" |
| 169 | dc_res = lib.dc_chat_get_info_json(self.account._dc_context, self.id) |
| 170 | s = from_dc_charpointer(dc_res) |
| 171 | return json.loads(s) |
| 172 | |
| 173 | def mute(self, duration: Optional[int] = None) -> None: |
| 174 | """mutes the chat. |