telegramx.js

WebhookServerOptions

interface

Declaration

interface WebhookServerOptions 

Properties

pathproperty#
path?: string;

Path the webhook is served on. Requests to other paths get a 404. Defaults to /.

secretTokenproperty#
secretToken?: string;

Optional secret token; if set, requests must carry a matching X-Telegram-Bot-Api-Secret-Token.