5,073 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-2
votes
0
answers
62
views
Telegram Bot API: Send video without compression and avoid black square preview (no thumbnail) [closed]
I am using python with aiohttp to send videos from Facebook Ads Library to Telegram via Bot API. I'm facing two main issues:
Video Compression: Telegram automatically compresses the videos, which ...
0
votes
0
answers
78
views
How to get forwarded user id? (python telegram bot)
async def theirs(update: Update, context: ContextTypes.DEFAULT_TYPE):
if update.message.text == "Others User ID":
await update.message.reply_text("OK. Send me a forwarded ...
1
vote
0
answers
179
views
Telegram Mini App (WebView) loads forever on Android
I have a Telegram Mini App built with NextJS where I serve it on Railway with Cloudflare as proxy. I created a custom domain and registered the CNAME to Cloudflare and everything works fine on IOS, ...
1
vote
1
answer
78
views
Why does my Telegram bot repeat the same response after clicking an inline button (callback_query) when using a Google Apps Script webhook
I’ve built a Telegram bot hosted on Google Apps Script, using a webhook to handle updates.
When I click on an inline button, the bot sends the correct reply, but it keeps repeating the same response ...
0
votes
1
answer
86
views
Aiogram Bad Request: can't parse inline keyboard button: Text buttons are unallowed in the inline keyboard
i have an Aiogram project and get errors in log file. The error log doesn't provide information about where exactly in the project this happened, only information about where in the package it ...
0
votes
0
answers
74
views
Telegram Bot sendDocument fails with Amazon S3 URL
I am using PHP with Guzzle to send a document via Telegram Bot API using sendDocument.
The file is hosted on Amazon S3 with a URL like:
https://telegramfile.xxx.amazonaws.com/file/preview/chat/...
4
votes
1
answer
194
views
Python Telegram Chatbot Issue
I have a telegram bot (@TEVOProjAttBot) I created to upload event attendances on Google sheet. However, the commands "/start", "/help", "/add" doesn't work as it should, ...
0
votes
1
answer
79
views
Media files are not being sent in Pyrogram
Here's my code. When I run it, it only displays "Sending" and that's it. I don't understand what the problem is.The id passed to the function and the path to the photo have been changed for ...
2
votes
1
answer
78
views
Pyrogram bot doesn't send downloaded media
I have a set of functions written in Pyrogram that make up a user bot that copies media messages from one Telegram channel to another. The problem is that it doesn't copy the media messages in the ...
3
votes
2
answers
1k
views
Telegram bot api getUpdates or SendMessage doesn't work on browser
I created a Telegram bot using the Botfather and got token for that bot.
Visiting the following url in browser worked fine to send message on Telegram.
https://api.telegram.org/bot<123:Token>/...
0
votes
0
answers
157
views
Initializing Mini Apps in C# WASM app with Avalonia.Browser
In Telegram docs, https://core.telegram.org/bots/webapps#initializing-mini-apps,
To connect your Mini App to the Telegram client, place the script telegram-web-app.js in the <head> tag before ...
1
vote
1
answer
133
views
InlineKeyboardButton with callback_data doesn't work
InlineKeyboardButton with callback_data doesn't work. When I click on it, nothing happens.
Here is how I create the button:
from django.apps import apps
from asgiref.sync import sync_to_async
from ...
0
votes
0
answers
810
views
BrowserType.launch: Executable doesn't exist — how to fix?
I’m building a Python Telegram bot (using paid version of Chat GPT), deployed as a background service on Render. The bot runs every 5 minutes and performs:
Symbol screening via Bybit API (aiohttp)
...
0
votes
2
answers
202
views
Is there a way to get the topic(thread) ID from a Message object in Telethon?
I am trying to get all messages from a supergroup in Telegram with every message's sender name and topic name in a text file using telethon, but I can't find how to get the topic ID from a Message ...
0
votes
0
answers
669
views
How to Retrieve the Telegram Store Gift Catalog via Bot API for a Business Account?
[Description:
Hello, Stack Overflow community! I am developing a Telegram bot using Python with the python-telegram-bot librarythat interacts with a business account to send gifts to users. The ...