Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>Client#editMessageLiveLocation

Cross-runtime JavaScript library for building Telegram clients
Latest
method Client.prototype.editMessageLiveLocation
import { Client } from "https://deno.land/x/mtkruto@0.6.3/mod.ts";

Edit a message's live location.

Parameters

chatId: ID

The identifier of the chat that contains the messages.

messageId: number

The message's identifier.

latitude: number

The new latitude.

longitude: number

The new longitude.

optional
params: EditMessageLiveLocationParams

Returns

Promise<MessageLocation>

The edited location message.