mirror of
https://github.com/chatmail/core.git
synced 2026-10-23 13:33:35 +03:00
prefer a dedicated api
This commit is contained in:
@@ -188,7 +188,7 @@ class Message:
|
||||
|
||||
def get_summarytext(self, width: int) -> str:
|
||||
"""Get a message summary as a single line of text. Typically used for notifications."""
|
||||
return from_dc_charpointer(lib.dc_msg_get_summary_text(self._dc_msg, width, True))
|
||||
return from_dc_charpointer(lib.dc_msg_get_summarytext(self._dc_msg, width))
|
||||
|
||||
@props.with_doc
|
||||
def time_sent(self):
|
||||
|
||||
Reference in New Issue
Block a user