import { ErrorUnion, MessageUnion } from '../outputs'; /** * Returns information about a pinned chat message * @param {Object} params * @param {number} [params.chatId] - Identifier of the chat the message belongs to * @param {Object} state * @returns {MessageUnion | ErrorUnion} */ export declare type GetChatPinnedMessageMethod = (params: GetChatPinnedMessageParams, state?: Record) => Promise; export interface GetChatPinnedMessageParams { /** Identifier of the chat the message belongs to */ chatId?: number; }