Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.2.24/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.