import { MessageCreator } from './MessageCreator'; import { MessageCreatorTypes, SendTypes } from '../../types'; export declare class Unpin extends MessageCreator { readonly msgId: number | 'all'; readonly chatId?: number | string; sendType: SendTypes; type: MessageCreatorTypes; /** * Unpin chat message * @param msgId Message ID you want to unpin. Or pass 'all' to unpin all messages (by default) * @param chatId Optional. Chat ID where you want to unpin message. It can be id of group/channel or ID of the user. Current chat id by default * @see https://core.telegram.org/bots/api#unpinchatmessage * */ constructor(msgId?: number | 'all', chatId?: number | string); }