-
Hey
I took an example from documentation:
```
from bot.bot import Bot
from bot.handler import MessageHandler
TOKEN = "" #your token here
bot = Bot(token=TOKEN)
def message_cb(bot, event…
-
i've built a telegram bot using nodejs that downloads videos from tweet urls. Completed that part. now, Iim struggling to implement a paywall using the `sendInvoice` method in the Telegram API.
htt…
-
First, I should thank you for your great app. In polling mode on my local machine the module works like charm. However when I use the web hook mode, sometimes I get the
> Request for not found tok…
-
On low connection my long polling bot receives multiple onUpdateReceived() for the same command. It's hard to reproduce, but I thing it may be related to offset param.
https://core.telegram.org/bots/…
-
import openai
import telebot
import logging
import time
# Кэширование ответов
cache = {}
# Ваши ключи
openai.api_key = "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"
bot = telebot.TeleBot("64…
-
### Checklist
- [X] I am sure the error is coming from aiogram code
- [X] I have searched in the issue tracker for similar bug reports, including closed ones
### Operating system
Ubuntu 22.4
### P…
-
A large portion of the classic tetris audience now watches content through youtube livestreams, so it would be great if they could also use the bot.
-
When I use Long Polling Bot I need to have possibility check if all work fine: is bot is connected to server or something goes wrong.
-
In the middle of the night my bot crashed with the following exception:
```
Unhandled exception. Telegram.Bot.Exceptions.ApiRequestException: Bad Gateway
at Telegram.Bot.TelegramBotClient.Make…
-
rebase bot to webhook instead long polling