1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-16 00:16:54 +01:00
MadelineProto/docs/TD_docs/methods/sendChatSetTtlMessage.md
Daniil Gentili 8600a2fcba docufix
2017-09-29 15:50:59 +02:00

24 lines
617 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
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chat\_id|[int53](../types/int53.md) | Yes|Chat identifier|
|ttl|[int](../types/int.md) | Yes|New value of ttl in seconds|
### Return type: [Message](../types/Message.md)