Skip to main content
Module

x/grammy_parse_mode/deps.deno.ts>Context#reply

Safely format messages and keep their source code maintainable.
Go to Latest
method Context.prototype.reply
Re-export
import { Context } from "https://deno.land/x/grammy_parse_mode@1.9.0/deps.deno.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