Skip to main content
Module

x/mtkruto/mod.ts>Client#declineJoinRequest

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
method Client.prototype.declineJoinRequest
import { Client } from "https://deno.land/x/mtkruto@0.2.24/mod.ts";

Decline a join request.

Parameters

chatId: ID

The identifier of the chat that contains the join request.

userId: ID

The user who made the join request.

Returns

Promise<void>