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_toggleSlowMode_

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

Toggle supergroup slow mode: if enabled, users will only be able to send one message every seconds seconds

Constructors

new
channels_toggleSlowMode_(params: { channel: enums.InputChannel; seconds: number; })

Properties

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

Users will only be able to send one message every seconds seconds, 0 to disable the limitation

Static Properties

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