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

x/mtkruto/mod.ts>SetChatMemberRightsParams

Cross-runtime JavaScript library for building Telegram clients
Latest
interface SetChatMemberRightsParams
Re-export
import { type SetChatMemberRightsParams } from "https://deno.land/x/mtkruto@0.6.3/mod.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.