import { LocationInput, ReplyMarkupInputUnion } from '../inputs'; import { ErrorUnion, OkUnion } from '../outputs'; /** * Edits the content of a live location in an inline message sent via a bot; for bots * only * @param {Object} params * @param {string} [params.inlineMessageId] - Inline message identifier * @param {ReplyMarkupInputUnion} [params.replyMarkup] - The new message reply markup * @param {LocationInput} [params.location] - New location content of the message; * may be null. Pass null to stop sharing the live location * @param {Object} state * @returns {OkUnion | ErrorUnion} */ export declare type EditInlineMessageLiveLocationMethod = (params: EditInlineMessageLiveLocationParams, state?: Record) => Promise; export interface EditInlineMessageLiveLocationParams { /** Inline message identifier */ inlineMessageId?: string; /** The new message reply markup */ replyMarkup?: ReplyMarkupInputUnion; /** * New location content of the message; may be null. Pass null to stop sharing the live * location */ location?: LocationInput; }