telegram api constructor · layer 229 · #3c134d7b

messageActionSetMessagesTTL

The Time-To-Live of messages in this chat was changed.

definition

messageActionSetMessagesTTL#3c134d7b flags:# period:int auto_setting_from:flags.0?long = MessageAction;

parameters

nametypedescription
flags#Flags, see TL conditional fields
periodintNew Time-To-Live of all messages sent in this chat; if 0, autodeletion was disabled.
auto_setting_fromflags.0?longIf 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.

type

MessageAction · 68 other constructors

history

present in layers 124–229 · constructor id changed 1×

idlayers
#aa1afbfd124–149
#3c134d7b150–229