Guys, how can I use sendVideo with "thumb"? Example: ...botTOKEN/sendVideo?video=video_file_id&caption=TEST&thumb=thumb_file_id I First

uploaded the thumbnail to my bot, then get thumb_file_id.
But when I put the thumb_file_id into "thumb=" attribuite, nothing happens.
The Bot only sends to me the video, but without the thumbnail i sent him before!

Can someone help?

10 ответов

17 просмотров

thumb must be upload

Nuvoletto2- Автор вопроса
Colored Panda
thumb must be upload

How? As I said, I First uploaded the thumb to my Bot and get it's file_id. Is It Correct?

There is a different thumbnail in the video right?

Nuvoletto2- Автор вопроса
Poolitzer X
There is a different thumbnail in the video right?

Yes, Just for testing, I made a test thumbnail, different from the video's thumbnail

Nuvoletto2
Yes, Just for testing, I made a test thumbnail, di...

"Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side.", taken from the docs

Nuvoletto2
So..?

I assume telegram ignores yours and sets its own thumbnail

Nuvoletto2- Автор вопроса
Poolitzer X
I assume telegram ignores yours and sets its own t...

But I know It can be possible to do.. I see other Bots doing this :/

Nuvoletto2
But I know It can be possible to do.. I see other ...

If you do a proper multipart upload of the file, then they probably use different encoding

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

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

А можно не обсуждать тут V?
Darkanronpa Goodbye Despair
18
Вот зачем писать о том, чего ты не знаешь? Стохастический это и есть вероятностный. И в этом и проблема, что один и тот алгоритм на одних и тех же данных выдает разный результ...
Aleksandr Druzhinin
37
Какая бы группа загнулась? Этот канал о Ди. Хотите поговорить о го/зиге/расте - добро пожаловать на каналы этих языков. Тут про Ди не говорят практически. Загнулась бы группа ...
Aleksandr Druzhinin
10
Кстате вопрос. Насколько я помню, был пост. Что в D nogc имеет накладные расходы. При работе с GC. Правда, нет? Разобраться толком времени не хватило.
Vi
3
Уолтер в коммунити zig-а суету наводит: https://news.ycombinator.com/item?id=41015588 С одной стороны, конешн, пиарится, с другой стороны, коркоманде и тому же Kelley, который...
Constantin F.
26
Warning Failed to apply the selected architecture x86_64-pc-windows-msvc. Got ["x86"]. Error Unsupported architecture: x86_64-pc-windows-msvc кто-нибудь знает, что с ldc2? вот...
quantumde1 Зубенко
3
@wintttr gdc, ldc2, dmd?
quantumde1 Зубенко
6
Этот V кто делает?
☭Тупо Лучше Император
3
Я кстате только в играх пока ,действительно вижу проблему от GC. А у вас какие задачи раз GC не нужен?
Vi
2
появился нормальный вывод зависимостей файла в стиле makefile?
Макс Воробьев
4
Карта сайта