Skip to content

Commit d11b980

Browse files
authored
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.
1 parent 231371f commit d11b980

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎examples/inline_example.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def query_video(inline_query):
4242
try:
4343
r = types.InlineQueryResultVideo('1',
4444
'https://github.com/eternnoir/pyTelegramBotAPI/blob/master/tests/test_data/test_video.mp4?raw=true',
45-
'video/mp4', 'Video',
45+
'video/mp4',
4646
'https://raw.githubusercontent.com/eternnoir/pyTelegramBotAPI/master/examples/detailed_example/rooster.jpg',
4747
'Title'
4848
)

0 commit comments

Comments
 (0)