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_editAdmin_

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

Modify the admin rights of a user in a supergroup/channel.

Constructors

new
channels_editAdmin_(params: { channel: enums.InputChannel; user_id: enums.InputUser; admin_rights: enums.ChatAdminRights; rank: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
admin_rights: enums.ChatAdminRights

The admin rights

channel: enums.InputChannel
rank: string

Indicates the role (rank) of the admin in the group: just an arbitrary string

user_id: enums.InputUser

The ID of the user whose admin rights should be modified

Static Properties

__F: (params: { channel: enums.InputChannel; user_id: enums.InputUser; admin_rights: enums.ChatAdminRights; rank: string; }) => enums.Updates
readonly
[name]: string
readonly
[paramDesc]: ParamDesc