Hi, who managed to download videos over 20 mb using

telegram local server?

19 ответов

13 просмотров

What exactly is the issue?

Islomiddin- Автор вопроса
Яico X
What exactly is the issue?

30mb video link to sendVideo telegram bot

Islomiddin
30mb video link to sendVideo telegram bot

Maybe you want to write actual English sentences? Are you getting any error messages when you try to download videos larger than 20mb from the local api server?

Islomiddin- Автор вопроса
Яico X
Maybe you want to write actual English sentences? ...

{"ok":false,"error_code":400,"description":"Bad Request: failed to get HTTP URL content"}

Islomiddin- Автор вопроса
Islomiddin
SendVideo not error

I meant what your http request was?!

Яico X
I meant what your http request was?!

I didn’t have a request, I need my bot to answer me for verification, but it doesn’t answer

nikon.so2
I didn’t have a request, I need my bot to answer m...

That message was no reply to you. I was talking to Islomiddin.

Islomiddin- Автор вопроса
Яico X
I meant what your http request was?!

'https://abidonar.uz/videos/video555.mp4'

Islomiddin
'https://abidonar.uz/videos/video555.mp4'

Are you able to write full English sentences?

I am not sure. But I assume that you need to download the video first and then send it to Telegram by using the sendVideo / sendFile method. From what I gather it looks like the api server in general only downloads videos from external sources with a maximum size of 20 MB - no matter if local bot api or official.

Islomiddin- Автор вопроса
Яico X
I am not sure. But I assume that you need to downl...

Yes I do. first I upload the video locally and then I try to send it to the bot. in this way. bot ('sendVideo', [ 'chat_id' => $ chat_id, 'video' => '/Users/macbookpro/Desktop/video555.mp4' ]);

Islomiddin
Yes I do. first I upload the video locally and the...

This is what I wanted to know earlier when I asked about the http request you made.

Яico X
This is what I wanted to know earlier when I asked...

and come on, can you create a bot for me and I will tell you what name and what he will say okay)?

it is a string right? You have not uploaded the video 🧐

Похожие вопросы

Обсуждают сегодня

а кто писал сокетные фреймворки, как вы управляли пулом открытых дескрипторов соединений? Там может прилететь, например, миллион. Наиболее быстрый способ доступа к ним всёж ли...
Constantin F.
12
это только у меня на run.dlang.io не работают короткие сслылки или он сломан?
Aleksandr Druzhinin
1
а как то можно ссылку все-таки сгенерировать или вообще никак?
Aleksandr Druzhinin
1
Мне интересно, скорее людей здесь используют D, Rust, C/C++ для решения реальных прикладных задач за деньги?)
Evil Satanson
49
а кроме lighttp\vibe\hunt какие ещё интересные, продвинутые, необычные сервера видели в дишке? Можно и мёртвые проекты тож, для перенятия опыта, так сказать. Там прост в репоз...
Constantin F.
1
Вопрос тем кто смотрит видео и слушает подкасты - как вы потом ищете нужную вам информацию? Вот статью я прочитал, потом могу искать нужную мне часть банальным поиском. Пропус...
Aleksandr Druzhinin
4
Мне были интересны дишные хаки и я нашёл любопытный способ на форуме через __traits, что-то вроде int delegate(int) fac = (int n) => n == 0 ? 1 : n * __traits(parent, {})(n - ...
Constantin F.
1
А сейчас уже что-то поменялось?
Jango Fett
2
И к какой архитектуре привязана Java?
Dmitry Olshansky
17
мне кажется, или погоня за безопасностью носит оттенок хайпа и одержимости? ведь реально высокие требования предъявляются лишь к небольшому кол-ву приложений
Aleksandr Druzhinin
2
Карта сайта