import { ChatUnion, ErrorUnion } from '../outputs'; /** * Returns information about a chat by its identifier, this is an offline request if * the current user is not a bot * @param {Object} params * @param {number} [params.chatId] - Chat identifier * @param {Object} state * @returns {ChatUnion | ErrorUnion} */ export declare type GetChatMethod = (params: GetChatParams, state?: Record) => Promise; export interface GetChatParams { /** Chat identifier */ chatId?: number; }