Module

x/grammy/context.ts>Context#reply

The Telegram Bot Framework.
Very Popular
Go to Latest
method Context.prototype.reply
import { Context } from "https://dotland.deno.dev/x/grammy@v1.10.0/context.ts";

Context-aware alias for api.sendMessage. Use this method to send text messages. On success, the sent Message is returned.

Parameters

text: string

Text of the message to be sent, 1-4096 characters after entities parsing

optional
other: Other<"sendMessage", "chat_id" | "text">

Optional remaining parameters, confer the official reference below

optional
signal: AbortSignal

Optional AbortSignal to cancel the request

Official reference: https://core.telegram.org/bots/api#sendmessage