import { ErrorUnion, OkUnion } from '../outputs'; /** * Removes the pinned message from a chat; requires appropriate administrator rights * in the group or channel * @param {Object} params * @param {number} [params.chatId] - Identifier of the chat * @param {Object} state * @returns {OkUnion | ErrorUnion} */ export declare type UnpinChatMessageMethod = (params: UnpinChatMessageParams, state?: Record) => Promise; export interface UnpinChatMessageParams { /** Identifier of the chat */ chatId?: number; }