mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2021-05-13 03:08:02 +03:00
Merge pull request #443 from reacheight/master
fixed example of usage sendVideoNote method
This commit is contained in:
@@ -291,8 +291,8 @@ tb.send_video(chat_id, "FILEID")
|
|||||||
|
|
||||||
# sendVideoNote
|
# sendVideoNote
|
||||||
videonote = open('/tmp/videonote.mp4', 'rb')
|
videonote = open('/tmp/videonote.mp4', 'rb')
|
||||||
tb.send_video(chat_id, videonote)
|
tb.send_video_note(chat_id, videonote)
|
||||||
tb.send_video(chat_id, "FILEID")
|
tb.send_video_note(chat_id, "FILEID")
|
||||||
|
|
||||||
# sendLocation
|
# sendLocation
|
||||||
tb.send_location(chat_id, lat, lon)
|
tb.send_location(chat_id, lat, lon)
|
||||||
|
|||||||
Reference in New Issue
Block a user