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

x/mtkruto/tl/3_functions.ts>messages_setHistoryTTL_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class messages_setHistoryTTL_
extends Function_<enums.Updates>
import { messages_setHistoryTTL_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Set maximum Time-To-Live of all messages in the specified chat

Constructors

new
messages_setHistoryTTL_(params: { peer: enums.InputPeer; period: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
peer: enums.InputPeer

The dialog

period: number

Automatically delete all messages sent in the chat after this many seconds

Static Properties

__F: (params: { peer: enums.InputPeer; period: number; }) => enums.Updates
readonly
[name]: string
readonly
[paramDesc]: ParamDesc