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_addChatUser_

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

Adds a user to a chat and sends a service message on it.

Constructors

new
messages_addChatUser_(params: { chat_id: bigint; user_id: enums.InputUser; fwd_limit: number; })

Properties

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

Chat ID

fwd_limit: number

Number of last messages to be forwarded

user_id: enums.InputUser

User ID to be added

Static Properties

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