Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

A participant has left, joined, was banned or admined in a channel or supergroup.

Constructors

new
UpdateChannelParticipant_(params: { via_chatlist?: true; channel_id: bigint; date: number; actor_id: bigint; user_id: bigint; prev_participant?: enums.ChannelParticipant; new_participant?: enums.ChannelParticipant; invite?: enums.ExportedChatInvite; qts: number; })

Properties

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

User that triggered the change (inviter, admin that kicked the user, or the even the user_id itself)

channel_id: bigint

Channel ID

date: number

Date of the event

optional
invite: enums.ExportedChatInvite

Chat invite used to join the channel/supergroup

optional
new_participant: enums.ChannelParticipant

New participant status

optional
prev_participant: enums.ChannelParticipant

Previous participant status

qts: number

New qts value, see updates » for more info.

user_id: bigint

User that was affected by the change

optional
via_chatlist: true

Whether the participant joined using a chat folder deep link ».

Static Properties

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