Merge pull request #443 from reacheight/master

fixed example of usage sendVideoNote method
This commit is contained in:
FrankWang
2018-01-15 10:25:06 +08:00
committed by GitHub

View File

@@ -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)