The API for the Telegram messaging service. More information on the API and the TDLib library (for the AP available for multiple programming languages), can be found at
Questions tagged [telegram-api]
237 questions
1
vote
1 answer
how to download a large file faster using telethon in telegram?
i'm trying to do something that downloads a lot of file from a telegram channel
the code works well but it takes too long and above all that I have a slow internet connection
I have this code, I am downloading files that weigh 1gb but it takes a…

Federico David
- 83
- 1
- 7
0
votes
0 answers
Cannot to correctly upload media files and texts from the telegram channel messages
I work on the on the python script, which downloads the contents of the telegram channel messages. I try to do this with pyrogram. The task is to create a separate folder for each message, and in each folder download photos or videos of the message,…

Kiten
- 985
- 2
- 17
- 35
0
votes
1 answer
Generate Telegram API sendMediaGroup request with bash
I want to send all video files from current dir to Telegram from Gitlab CI. Image has no python or jq, I need to generate command from files list:
curl -F "chat_id=13245679" \
-F 'media=[{"type": "video", "media": "attach://file1"}, {"type":…

Dem0n3D
- 23
- 1
- 2
0
votes
1 answer
How to get TopicID message was sent to in supergroup converted to forum?
I am trying to parse message sent to topic in forum group, by cannot find in Message class TopicID. PeerID is parent group id, version of library 3.5.3
(https://core.telegram.org/api/forum)
Does library supports supergroups converted to forum? Any…

Kolka
- 1
- 3
0
votes
0 answers
How to send Send Pre-signed URL to Telegram Bot Client?
How to send Send Pre-signed URL to Telegram Bot? So the Telegram can then directly upload the file to S3 using this URL. This process doesn't involve your server as a middleman for storing the file temporarily.
My current approach involves the…

tim
- 1
- 1
0
votes
0 answers
How do I put all the answers in a list? Telebot
I have a problem. I want the bot to wait for an answer after each question and then write it down in the list
And yes, I understand what I'm doing absolutely wrong in this code, but I cut out all my attempts and inserted "Clean Code" here to convey…

Artem
- 1
0
votes
0 answers
Simplifying File Upload from Telegram to AWS S3
I have a web application integrated with Telegram. When a user uploads a file to Telegram, these files needs to be saved in storage like S3.
I can achieve this by following these steps:
GET api - get a presigned URL from S3.
Download the file…

tim
- 1
- 1
0
votes
0 answers
Subscriptions and unsubscriptions do not affect client working in another process
I have 2 services - one suscribes/unsubscribes on some channels, anther one handles pushes. I seems that these subscriptions made by the first client in the first process don't affect the second one - it doesn't receive pushes from added channels.…

Denis
- 1
0
votes
1 answer
Telegram login widget not showing up
Sorry I am a total newb.
I deployed this site
https://visionary-cupcake-b69c3d.netlify.app/
used this part of the code for the test