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
Latest
interface SetChatMemberRightsParams
import { type SetChatMemberRightsParams } from "https://deno.land/x/mtkruto@0.6.2/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 in time within the future in which the restriction will be reverted.