--- title: sendChatSetTtlMessage description: Changes current ttl setting in a secret chat and sends corresponding message image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: sendChatSetTtlMessage [Back to methods index](index.md) YOU CANNOT USE THIS METHOD IN MADELINEPROTO Changes current ttl setting in a secret chat and sends corresponding message ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| |chat\_id|[int53](../types/int53.md) | Chat identifier | Yes| |ttl|[int](../types/int.md) | New value of ttl in seconds | Yes| ### Return type: [Message](../types/Message.md)