import { ErrorUnion, MessagesUnion } from '../outputs'; /** * Returns information about the recent locations of chat members that were sent to * the chat. Returns up to 1 location message per user * @param {Object} params * @param {number} [params.chatId] - Chat identifier * @param {number} [params.limit] - Maximum number of messages to be returned * @param {Object} state * @returns {MessagesUnion | ErrorUnion} */ export declare type SearchChatRecentLocationMessagesMethod = (params: SearchChatRecentLocationMessagesParams, state?: Record) => Promise; export interface SearchChatRecentLocationMessagesParams { /** Chat identifier */ chatId?: number; /** Maximum number of messages to be returned */ limit?: number; }