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>channels_deleteHistory_

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

Delete the history of a supergroup

Constructors

new
channels_deleteHistory_(params: { for_everyone?: true; channel: enums.InputChannel; max_id: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
channel: enums.InputChannel

Supergroup whose history must be deleted

optional
for_everyone: true

Whether the history should be deleted for everyone

max_id: number

ID of message up to which the history must be deleted

Static Properties

__F: (params: { for_everyone?: true; channel: enums.InputChannel; max_id: number; }) => enums.Updates
readonly
[name]: string
readonly
[paramDesc]: ParamDesc