Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>MessageActionSetMessagesTTL_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class MessageActionSetMessagesTTL_
import { MessageActionSetMessagesTTL_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

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

Constructors

new
MessageActionSetMessagesTTL_(params: { period: number; auto_setting_from?: bigint; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
auto_setting_from: bigint

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.

period: number

New Time-To-Live of all messages sent in this chat; if 0, autodeletion was disabled.

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc