MCPcopy Create free account
hub / github.com/chatmail/core / get_name

Method get_name

python/src/deltachat/chat.py:145–150  ·  view source on GitHub ↗

return name of this chat. :returns: unicode name

(self)

Source from the content-addressed store, hash-verified

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.

Callers 8

__repr__Method · 0.95
__repr__Method · 0.45
test_contact_renameMethod · 0.45
test_chat_idempotentMethod · 0.45
test_long_group_nameFunction · 0.45
test_reply_privatelyFunction · 0.45

Calls 1

from_dc_charpointerFunction · 0.85

Tested by 6

test_contact_renameMethod · 0.36
test_chat_idempotentMethod · 0.36
test_long_group_nameFunction · 0.36
test_reply_privatelyFunction · 0.36