251 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
67
views
Polling + Webhook behind NGINX, slow updates on production
Setup:
Telegram bot built with aiogram (Python 3.10)
Main bot works via long polling
Additional bots (inviters) connect to the main bot
Inviters generate invite links to private channels and accept ...
-1
votes
1
answer
197
views
Telegram Bot Responds Slowly on Initial /start Command - Deployed on Vercel
I have a Telegram bot built using Node.js, Telegraf, and deployed on Vercel. The bot implements a referral system where it checks if a user is registered in the backend. If the user is not registered, ...
0
votes
1
answer
51
views
One of two flask apps (one that was started later) on same domain does not work
I am trying to host two bots on one local machine. For simplicity, let's call one "Bot A" and other "Bot B".
I made route for one as "mydomain.io/a", for other as "...
0
votes
1
answer
202
views
setting up an amazon webhook and a Lambda function with Telegram
I'm trying to link a telegram bot with a lambda function that bears a LLM. In order to do so, I've used a HTTP API gateway and a webhook. I've also linked my webhook to my telegram bot. My lambda ...
0
votes
1
answer
506
views
Not getting an update with callback_query when user presses an inline button (Telegram webhook)
Using node-telegram-bot-api. I have a Webhook that works properly - i get updates when messages are sent, but no update is sent when the user presses a button in an inline keyboard.
class ...
0
votes
1
answer
234
views
Is it possible to put my Bot into sleep mode and then wake it up?
Good morning. I'm trying to program a Telegram Bot that helps me send formatted posts on Telegram. I don't have any particular questions about the code, rather I'd be curious: based on how it is ...
user avatar
user18786433
2
votes
3
answers
13k
views
Applying fullscreen to Telegram Mini App?
I am currently developing a Telegram Mini App, so basically a website which can be launched directly in Telegram by using a bot. I want the app to extend over the full screen size. Using the Telegram ...
0
votes
0
answers
27
views
How do I send an image while the image is still containing Caption and Inline keyboard?
class TgSender:
TOKEN = os.getenv('BOT_TOKEN')
@staticmethod
def tgSendImage(chat_id, photo_path, keyboard=None, caption=None):
TELEGRAM_API_URL = f"https://api.telegram.org/...
1
vote
1
answer
876
views
How to set website url with telegram bot?
I'm seeking a method to programmatically configure the website URL using an API. Currently, I've developed a bot and obtained its API token, which allows me to access other APIs seamlessly. However, ...
1
vote
0
answers
72
views
Is there a way to get my own telegram status via BotFather using only client-side technology?
So I want to get my telegram status (whether I'm online or offline) using BotFather API. I do not want to use any back-end, so is there a way of getting my status using Ajax/Js? BTW, I'm not concerned ...
0
votes
1
answer
247
views
how to set commands to the bot from other files
I need the bot to respond to the start command, but I don’t know how to use it correctly in the main bot file.
start.py:
from aiogram import types
from bot import router
from aiogram.filters import ...
0
votes
0
answers
3k
views
Telegram bot or API (messages.getHistory) get all chats messages history
I made a telegram bot, received a token from it and now made it an administrator. How can I get through the bot all messages from the moment it was added? There are requests in this group and I need ...
0
votes
0
answers
312
views
The telegram bot webhook gets lost after each command call
I'm using nutgram (https://nutgram.dev/docs) to call telegram bot methods.
posman response
$this->bot->sendMessage( text: $description, chat_id: $group_id);
After calling each command, the ...
0
votes
1
answer
983
views
I am running my telegram bot code locally and there are no errors. But I can't get my telegram bot to start
I am a beginner in python programming and I got the idea to write a telegram chat summarization bot in python. I used python-telegram-bot(v20.5) module and wrote the code mostly with the help of ...
1
vote
1
answer
189
views
Is there a way to provide additional data to Notion's OAuth flow?
I am building a Telegram bot (webhook implemented) to interact with Notion API. I need to link Telegram and Notion users between each other.
My Authorization URL from Notion's integration page looks ...