import { MessageCreator } from './MessageCreator'; import { MessageCreatorTypes, SendTypes } from '../../types'; export declare class Unban extends MessageCreator { readonly onlyIfBanned?: boolean; readonly userId?: number; sendType: SendTypes; type: MessageCreatorTypes; /** * Unban chat member * @param onlyIfBanned Do nothing if the user is not banned * @param userId User id you want to promote * @see https://core.telegram.org/bots/api#unbanchatmember * */ constructor(onlyIfBanned?: boolean, userId?: number); }