messageActionSetMessagesTTL
The Time-To-Live of messages in this chat was changed.
type tg.MessageActionSetMessagesTTL struct { /* ... */ }
Implements MessageAction.
Fieldsโ
| Name | Type | Required | Description |
|---|---|---|---|
Period | int | yes | New Time-To-Live of all messages sent in this chat; if 0, autodeletion was disabled. |
AutoSettingFrom | int64 | โ | If set, the chat TTL setting was set not due to a manual change by one of participants but automatically because one of the participants has the default TTL settings enabled ยป. For example, when a user writes to us for the first time and we have set a default messages TTL of 1 week, this service message (with auto_setting_from=our_userid) will be emitted before our first message. |
Referencesโ
- Official documentation
- Generated Go reference
- TL definition:
messageActionSetMessagesTTL#3c134d7b