From e1b756a4375017da42d3d53156d80f5c7822abeb Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 30 Jul 2021 19:18:24 +0300 Subject: [PATCH] Document new allowed month TTL period. --- td/generate/scheme/td_api.tl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl index aacaa1919..1dec08a74 100644 --- a/td/generate/scheme/td_api.tl +++ b/td/generate/scheme/td_api.tl @@ -4506,7 +4506,7 @@ setChatPhoto chat_id:int53 photo:InputChatPhoto = Ok; //@description Changes the message TTL setting (sets a new self-destruct timer) in a chat. Requires can_delete_messages administrator right in basic groups, supergroups and channels //-Message TTL setting of a chat with the current user (Saved Messages) and the chat 777000 (Telegram) can't be changed -//@chat_id Chat identifier @ttl New TTL value, in seconds; must be one of 0, 86400, 604800 unless chat is secret +//@chat_id Chat identifier @ttl New TTL value, in seconds; must be one of 0, 86400, 7 * 86400, or 31 * 86400 unless the chat is secret setChatMessageTtlSetting chat_id:int53 ttl:int32 = Ok; //@description Changes the chat members permissions. Supported only for basic groups and supergroups. Requires can_restrict_members administrator right