api!: remove dc_msg_force_plaintext

Message.force_plaintext() is still used in legacy SecureJoin steps
internally, so cannot be removed, but there is no need for public API.
This commit is contained in:
link2xt
2026-04-06 23:42:34 +02:00
parent d2097d3523
commit 3e52aa1eaa
4 changed files with 1 additions and 26 deletions

View File

@@ -254,10 +254,6 @@ class Message:
"""Quote setter."""
lib.dc_msg_set_quote(self._dc_msg, quoted_message._dc_msg)
def force_plaintext(self) -> None:
"""Force the message to be sent in plain text."""
lib.dc_msg_force_plaintext(self._dc_msg)
@property
def error(self) -> Optional[str]:
"""Error message."""