mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 13:36:30 +03:00
docs(deltachat-rpc-client): document that 0 is a special value of set_ephemeral_timer()
This commit is contained in:
@@ -84,7 +84,9 @@ class Chat:
|
||||
self._rpc.set_chat_name(self.account.id, self.id, name)
|
||||
|
||||
def set_ephemeral_timer(self, timer: int) -> None:
|
||||
"""Set ephemeral timer of this chat."""
|
||||
"""Set ephemeral timer of this chat in seconds.
|
||||
|
||||
0 means the timer is disabled, use 1 for immediate deletion."""
|
||||
self._rpc.set_chat_ephemeral_timer(self.account.id, self.id, timer)
|
||||
|
||||
def get_encryption_info(self) -> str:
|
||||
|
||||
Reference in New Issue
Block a user