Skip to main content
Module

x/mtkruto/mod.ts>SetChatMemberRightsParams

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface SetChatMemberRightsParams
Re-export
import { type SetChatMemberRightsParams } from "https://deno.land/x/mtkruto@0.1.152/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 of time in the future to automatically withdraw the restrictions.