import { MessageCreator } from './MessageCreator'; import { IChatPermissions, MessageCreatorTypes, SendTypes } from '../../types'; export declare class Restrict extends MessageCreator { readonly permissions: IChatPermissions; readonly userId?: number | null; readonly chatId?: number | string | null; readonly untilDate?: number; sendType: SendTypes; type: MessageCreatorTypes; /** * Restrict chat member * @param permissions Permissions you grant to the user {@link IChatPermissions} * @param userId User id you want to restrict * @param chatId Chat id in which user you want to restrict is located * @param untilDate Ban end date * @see https://core.telegram.org/bots/api#restrictchatmember * */ constructor(permissions: IChatPermissions, userId?: number | null, chatId?: number | string | null, untilDate?: number); }