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

x/mtkruto/mod.ts>Client#editMessageText

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
method Client.prototype.editMessageText
import { Client } from "https://deno.land/x/mtkruto@0.1.118/mod.ts";

Edit a message's text.

Parameters

chatId: ChatID

The chat where the message is.

messageId: number

The ID of the message.

text: string

The new text of the message.

optional
params: EditMessageParams

Returns

Promise<With<Message, "text">>

The edited text message.