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
| Name | Type | Description |
|---|---|---|
| chat_id | string | Chat identifier. |
| ttl | number | New TTL value, in seconds. |
More details on telegram’s documentation.