setMessageTtl
Set the time to live of the messages of a chat. User-only.
Parameters
The identifier of the chat.
messageTtl: number
The time to live of the messages in seconds.
Result
void
Syntax
await client.setMessageTtl(chatId, messageTtl);