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_toggleAntiSpam_

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

Enable or disable the native antispam system.

Constructors

new
channels_toggleAntiSpam_(params: { channel: enums.InputChannel; enabled: boolean; })

Properties

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

Supergroup ID. The specified supergroup must have at least telegram_antispam_group_size_min members to enable antispam functionality, as specified by the client configuration parameters.

enabled: boolean

Enable or disable the native antispam system.

Static Properties

__F: (params: { channel: enums.InputChannel; enabled: boolean; }) => enums.Updates
readonly
[name]: string
readonly
[paramDesc]: ParamDesc