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

Method chat

python/src/deltachat/message.py:263–271  ·  view source on GitHub ↗

chat this message was posted in. :returns: :class:`deltachat.chat.Chat` object

(self)

Source from the content-addressed store, hash-verified

261
262 @property
263 def chat(self):
264 """chat this message was posted in.
265
266 :returns: :class:`deltachat.chat.Chat` object
267 """
268 from .chat import Chat
269
270 chat_id = lib.dc_msg_get_chat_id(self._dc_msg)
271 return Chat(self.account, chat_id)
272
273 @props.with_doc
274 def override_sender_name(self) -> Optional[str]:

Callers

nothing calls this directly

Calls 1

ChatClass · 0.70

Tested by

no test coverage detected