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

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

Make a user admin in a basic group.

Constructors

new
messages_editChatAdmin_(params: { chat_id: bigint; user_id: enums.InputUser; is_admin: boolean; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
chat_id: bigint

The ID of the group

is_admin: boolean

Whether to make them admin

user_id: enums.InputUser

The user to make admin

Static Properties

__F: (params: { chat_id: bigint; user_id: enums.InputUser; is_admin: boolean; }) => boolean
readonly
[name]: string
readonly
[paramDesc]: ParamDesc