mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Fixed InlineQueryResultVideo params in example.
Fixed InlineQueryResultVideo params in example. String "Video" was passed in stead of the thumbnail url, making the example not work, This has been tested working.
This commit is contained in:
parent
231371f1f8
commit
d11b9802da
@ -42,7 +42,7 @@ def query_video(inline_query):
|
|||||||
try:
|
try:
|
||||||
r = types.InlineQueryResultVideo('1',
|
r = types.InlineQueryResultVideo('1',
|
||||||
'https://github.com/eternnoir/pyTelegramBotAPI/blob/master/tests/test_data/test_video.mp4?raw=true',
|
'https://github.com/eternnoir/pyTelegramBotAPI/blob/master/tests/test_data/test_video.mp4?raw=true',
|
||||||
'video/mp4', 'Video',
|
'video/mp4',
|
||||||
'https://raw.githubusercontent.com/eternnoir/pyTelegramBotAPI/master/examples/detailed_example/rooster.jpg',
|
'https://raw.githubusercontent.com/eternnoir/pyTelegramBotAPI/master/examples/detailed_example/rooster.jpg',
|
||||||
'Title'
|
'Title'
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user