Eddy Otsutsuki
Eddy Otsutsuki
`setWebhook` method now requires only https. I will close this issue due to inactivity, reopen it if needed
it may be a bit later, but here are some examples ### Setup webhook ngrok example with `top-level-await`: ```javascript const ngrok = require('ngrok') const app = require('express')() const [ Telegraf...
@AliAryanTech Using `Infinity` or `Number.POSITIVE_INFINITY` with `handlerTimeout` option disables the timeout according to the [[email protected] line:17](https://github.com/sindresorhus/p-timeout/blob/4f86930f75d1565927790ab70b4ac643e47007fc/index.js#L17) module code
@AliAryanTech ```javascript const bot = new Telegraf(token, { handlerTimeout: Infinity // or Number.POSITIVE_INIFINITY }) ```
@AliAryanTech please close this issue, if it has been resolved
Try with this example: https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/koa.ts
Try with bot.launch ```js import 'dotenv/config' import Koa from 'koa' import ngrok from 'ngrok'; import { Telegraf } from 'telegraf' const app = new Koa(); const bot = new Telegraf(process.env.BOT_TOKEN);...
Short answer: You are trying to use a button that is only allowed to be used in private chats Instead you can use a button url with the short webapp...
It's a normal behavior Since hide is not a feature of the bot API, but of Telegraf See [markup.ts:130](https://github.com/telegraf/telegraf/blob/e5c34fa9a86732bdc6c51f682b69cba6092bf030/src/markup.ts#L130)
Of course I understood, only that the hide parameter does not add parameters to the button object of the resulting array, but rather it literally removes the button object from...