Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/mtkruto/tl/2_types.ts>UpdateChatParticipantAdmin_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class UpdateChatParticipantAdmin_
extends _Update_
import { UpdateChatParticipantAdmin_ } from "https://deno.land/x/mtkruto@0.1.157/tl/2_types.ts";

Admin permissions of a user in a basic group were changed

Constructors

new
UpdateChatParticipantAdmin_(params: { chat_id: bigint; user_id: bigint; is_admin: boolean; version: number; })

Properties

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

Chat ID

is_admin: boolean

Whether the user was rendered admin

user_id: bigint

ID of the (de)admined user

version: number

Used in basic groups to reorder updates and make sure that all of them was received.

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc