import { MessageCreator } from './MessageCreator'; import { MessageCreatorTypes, SendTypes } from '../../types'; export declare class DeclineJoinRequest extends MessageCreator { readonly userId: number; readonly chatId?: number | string; sendType: SendTypes; type: MessageCreatorTypes; /** * Approves chat join request * @param userId User ID you want to approve join request * @param chatId Optional. Chat ID where you want to approve join request. It can be id of group/channel or ID of the user. Current chat id by default * @see https://core.telegram.org/bots/api#approvechatjoinrequest * */ constructor(userId: number, chatId?: number | string); }