6,147 questions
-2
votes
2
answers
73
views
Telegram NewMessage Event Handler Not Firing for Large Supergroups (GramJS)
I'm using GramJS (telegram npm package) to listen for new messages in Telegram groups. The NewMessage event handler works perfectly for:
Direct messages (DMs),Small groups (< 1000 members),Medium ...
0
votes
1
answer
97
views
I'm experiencing slow download times for videos from Telegram using GramJS with the Downloadmedia method
I'm experiencing slow download times for videos from Telegram using GramJS with the Downloadmedia method. Is there a way to speed up the downloads?
Is there a way to speed up the download, an optimal ...
-4
votes
0
answers
49
views
I can't to sign in at Telegram test server via desktop app [closed]
I tried to enter in account at the test server in desktop client on Windows. I have followed the instructions. But I failed to enter account with the code, equal to "XXXXX (X from phone number ...
1
vote
1
answer
97
views
Telegram OAuth with django
im trying to integrate telegram oauth into my application, currently it successfully log in in telegram, but django doesnt received any data in callback, I have tryied many methods, but without any ...
Best practices
0
votes
0
replies
33
views
Telegram Bot API: how to send an image/album with a caption longer than 1024 characters?
According to the official Telegram Bot API docs, media captions are limited to 0–1024 characters after entities parsing.
However, I recently saw a forwarded bot message that looks like a single media ...
0
votes
0
answers
85
views
Adding an inline button with the ability to open a chat with a user knowing their username
I need to create an embedded button that will open a chat using a user who only specifies the username with whom I want to open the chat.
I tried adding a parameter URL with the following value:
btn = ...
0
votes
1
answer
81
views
What wrong with the telegram check login hash function in python?
I have a hash generating function for telegram login. But it doesn't work. What is wrong with the telegram hash checker?
def _generate_hash(data: dict) -> str:
data.pop("hash") ...
1
vote
1
answer
111
views
Telegram bot webhook works locally but not on Proxmox with NAT / MikroTik: connection timed out
Body
I'm trying to deploy my Telegram bot from my local machine (where it works via localtunnel) to a VM on Proxmox behind MikroTik with NAT and nginx.
On the VM, nginx terminates HTTPS and proxies /...
-1
votes
0
answers
93
views
C++ TDLib client loops without stopping for std::getline when waiting for phone number input
I'm working on a C++ program using TDLib
to log into Telegram. I want to prompt the user for their phone number, verification code, and 2FA password.
However, the program loops infinitely and never ...
0
votes
1
answer
100
views
Pyrogram does not recognize message_entities
I have a problem with forwarding messages with caption_entities. Attached below is the code that I use to make the transfer itself, as well as the result of its operation. The result shows that ...
-1
votes
1
answer
95
views
Telegram nodeje api: getting 400 CONNECTION_NOT_INITED error
I've got a function to download an image from telegram message, it accepts message.media.photo:
const downloadPhoto = async (photo, client, name) => {
await client.connect();
const file = new ...
1
vote
0
answers
93
views
Pyrogram client appears as “Envoy Telegram Desktop/Android” — how can I remove the “Envoy” prefix?
I’m testing a simple Pyrogram client and noticed something strange when the session appears in Telegram’s Active Sessions list.
Here is my test code:
from pyrogram import Client
app = Client(
&...
0
votes
0
answers
34
views
Issues with folder selection via webkitdirectory and File System Access API in Telegram Mini Apps on Android
I'm facing a confusing and frustrating issue with folder selection for file uploads in a web app running inside Telegram Mini Apps on Android.
Folder selection works fine in regular browsers (Chrome ...
1
vote
2
answers
130
views
How to Approve Channel Join Requests Using Telethon?
I'm trying to approve join requests for my private Telegram channel using Telethon. When a user opens a join link to a private channel, Telegram sends their request to the admin panel, where it can be ...
1
vote
1
answer
128
views
The Pyrogram client does not recognize the id of the channel it created
Below are two scripts. The first one creates a channel, after which it stops working. The second script tries to send a message to this channel, but at the moment of sending, the second script ...