libtd-ktx / kotlinx.telegram.extensions / ChatKtx / sendSetTtlMessage
sendSetTtlMessage
open suspend fun
Chat
.sendSetTtlMessage(ttl:
Int
):
Message
Suspend function, which changes the current TTL setting (sets a new self-destruct timer) in a secret chat and sends the corresponding message.
Parameters
ttl
- New TTL value, in seconds.
Return TdApi.Message Describes a message.