24 lines
639 B
Markdown
24 lines
639 B
Markdown
---
|
|
title: sendChatSetTtlMessage
|
|
description: Changes current ttl setting in a secret chat and sends corresponding message
|
|
---
|
|
## 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 | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|chat\_id|[CLICK ME int53](../types/int53.md) | Yes|Chat identifier|
|
|
|ttl|[CLICK ME int](../types/int.md) | Yes|New value of ttl in seconds|
|
|
|
|
|
|
### Return type: [Message](../types/Message.md)
|
|
|