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
650 B
JSON
34 lines
No EOL
650 B
JSON
{
|
|
"update_id": 954691815,
|
|
"channel_post": {
|
|
"chat": {
|
|
"id": 123456789,
|
|
"title": "Bot Channel",
|
|
"type": "channel"
|
|
},
|
|
"message_id": 9,
|
|
"date": 1566318591,
|
|
"photo": [
|
|
{
|
|
"file_id": "photofileid1",
|
|
"file_size": 123456,
|
|
"width": 90,
|
|
"height": 82
|
|
},
|
|
{
|
|
"file_id": "photofileid2",
|
|
"file_size": 123456,
|
|
"width": 320,
|
|
"height": 291
|
|
},
|
|
{
|
|
"file_id": "photofileid3",
|
|
"file_size": 123456,
|
|
"width": 720,
|
|
"height": 654
|
|
}
|
|
]
|
|
},
|
|
"bid": "0987654321",
|
|
"callback_token": "FidczWOKOLysIQ"
|
|
} |