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

Method is_promoted

python/src/deltachat/chat.py:128–135  ·  view source on GitHub ↗

return True if this chat is promoted, i.e. the member contacts are aware of their membership, have been sent messages. :returns: True if chat is promoted, False otherwise.

(self)

Source from the content-addressed store, hash-verified

126 return bool(lib.dc_chat_is_contact_request(self._dc_chat))
127
128 def is_promoted(self) -> bool:
129 """return True if this chat is promoted, i.e.
130 the member contacts are aware of their membership,
131 have been sent messages.
132
133 :returns: True if chat is promoted, False otherwise.
134 """
135 return not lib.dc_chat_is_unpromoted(self._dc_chat)
136
137 def can_send(self) -> bool:
138 """Check if messages can be sent to a give chat.

Calls

no outgoing calls