method ApiMethods.stopMessageLiveLocation
ApiMethods.stopMessageLiveLocation(args: { business_connection_id?: string; chat_id?: number | string; message_id?: number; inline_message_id?: string; reply_markup?: InlineKeyboardMarkup; }): (Update.Edited & Message.LocationMessage) | true

Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited Message is returned, otherwise True is returned.

Parameters

args: { business_connection_id?: string; chat_id?: number | string; message_id?: number; inline_message_id?: string; reply_markup?: InlineKeyboardMarkup; }

Return Type

Usage

import { type ApiMethods } from "types";