mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 21:06:31 +03:00
chore(json-rpc): deprecate send_sticker
send_sticker is not needed anymore since https://github.com/chatmail/core/pull/8162/changes/4dbbd4d8e
This commit is contained in:
@@ -164,7 +164,7 @@ class Chat:
|
||||
return Message(self.account, msg_id)
|
||||
|
||||
def send_sticker(self, path: str) -> Message:
|
||||
"""Send an sticker and return the resulting Message instance."""
|
||||
"""Deprecated as of 2026-04; use `send_message` with `Viewtype.STICKER` instead."""
|
||||
msg_id = self._rpc.send_sticker(self.account.id, self.id, path)
|
||||
return Message(self.account, msg_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user