Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/client/0_params.ts>SetChatMemberRightsParams

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface SetChatMemberRightsParams
import { type SetChatMemberRightsParams } from "https://deno.land/x/mtkruto@0.1.141/client/0_params.ts";

Properties

optional
rights: ChatMemberRights

The member's new rights. All fields default to true if the chat's default member rights allow. This means that this method is the same as unbanChatMember if this parameter is not provided or all of its fields are true.

optional
untilDate: Date

A point of time in the future to automatically withdraw the restrictions.