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_toggleUsername_

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

Activate or deactivate a purchased fragment.com username associated to a supergroup or channel we own.

Constructors

new
channels_toggleUsername_(params: { channel: enums.InputChannel; username: string; active: boolean; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
active: boolean

Whether to activate or deactivate the username

channel: enums.InputChannel
username: string

Username

Static Properties

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