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