TDLib v0.0.2 TDLib.Method.SendChatSetTtlMessage View Source

Changes the current TTL setting (sets a new self-destruct timer) in a secret chat and sends the corresponding message. Returns object_ptr.

NameTypeDescription
chat_idstringChat identifier.
ttlnumberNew TTL value, in seconds.

More details on telegram’s documentation.