return name of this chat. :returns: unicode name
(self)
| 143 | return bool(lib.dc_chat_can_send(self._dc_chat)) |
| 144 | |
| 145 | def get_name(self) -> Optional[str]: |
| 146 | """return name of this chat. |
| 147 | |
| 148 | :returns: unicode name |
| 149 | """ |
| 150 | return from_dc_charpointer(lib.dc_chat_get_name(self._dc_chat)) |
| 151 | |
| 152 | def set_name(self, name: str) -> bool: |
| 153 | """set name of this chat. |