7c935655d5
- Fixes #2289 - Added Telegram video support. - Improved error handling via raise Exceptions. - Removed unused methods. - Fixed typos. - Improved messages to client - return status: :ok even if the message could not be processed. This stops the Webhook loop for these message.
34 lines
No EOL
698 B
JSON
34 lines
No EOL
698 B
JSON
{
|
|
"update_id":6,
|
|
"message":{
|
|
"from": {
|
|
"last_name":"Test Lastname",
|
|
"id":111111,
|
|
"first_name":"Test Firstname",
|
|
"username":"Testusername"
|
|
},
|
|
"chat": {
|
|
"last_name":"Test Lastname",
|
|
"id":111111,
|
|
"first_name":"Test Firstname",
|
|
"username":"Testusername",
|
|
"type": "private"
|
|
},
|
|
"message_id":6,
|
|
"date":1487119496,
|
|
"video":{
|
|
"duration":1,
|
|
"width":360,
|
|
"height":640,
|
|
"mime_type":"video/mp4",
|
|
"file_id":"videofileid",
|
|
"file_size":123456,
|
|
"thumb": {
|
|
"file_id": "videothumbfileid",
|
|
"file_size": 123456,
|
|
"width": 180,
|
|
"height": 320
|
|
}
|
|
}
|
|
}
|
|
} |