{"action":"created","issue":{"url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot/issues/1155","repository_url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot","labels_url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot/issues/1155/labels{/name}","comments_url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot/issues/1155/comments","events_url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot/issues/1155/events","html_url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/1155","id":339243066,"node_id":"MDU6SXNzdWUzMzkyNDMwNjY=","number":1155,"title":"Thumbnail issue when sending video > 10MB","user":{"login":"poustchi","id":5969471,"node_id":"MDQ6VXNlcjU5Njk0NzE=","avatar_url":"https://avatars1.githubusercontent.com/u/5969471?v=4","gravatar_id":"","url":"https://api.github.com/users/poustchi","html_url":"https://github.com/poustchi","followers_url":"https://api.github.com/users/poustchi/followers","following_url":"https://api.github.com/users/poustchi/following{/other_user}","gists_url":"https://api.github.com/users/poustchi/gists{/gist_id}","starred_url":"https://api.github.com/users/poustchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poustchi/subscriptions","organizations_url":"https://api.github.com/users/poustchi/orgs","repos_url":"https://api.github.com/users/poustchi/repos","events_url":"https://api.github.com/users/poustchi/events{/privacy}","received_events_url":"https://api.github.com/users/poustchi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-08T17:34:24Z","updated_at":"2018-08-11T13:51:14Z","closed_at":"2018-08-11T13:51:14Z","author_association":"NONE","body":"<!--\r\nThanks for reporting issues of python-telegram-bot!\r\n\r\nUse this template to notify us if you found a bug, or if you want to request a new feature.\r\nIf you're looking for help with programming your bot using our library, feel free to ask your\r\nquestions in out telegram group at: https://t.me/pythontelegrambotgroup\r\n\r\nTo make it easier for us to help you please enter detailed information below.\r\n\r\nPlease note, we only support the latest version of python-telegram-bot and\r\nmaster branch. Please make sure to upgrade & recreate the issue on the latest\r\nversion prior to opening an issue.\r\n-->\r\n### Steps to reproduce\r\n\r\nsent = bot.sendVideo(chat_id=CHANNEL_ID,  video=open(myvideofile.mp4, mode='rb'),  timeout=5000)\r\n\r\n### Expected behaviour\r\nTell us what should happen\r\n\r\nVideo should upload with a thumbnail.\r\n\r\n### Actual behaviour\r\nTell us what happens instead\r\n\r\nVideo uploads successfully but instead of thumbnail i will get a black square box. This problem happens when video file size > 10MB.\r\nVideos withe less than 10MB shows the thumbnail correctly without any issue.\r\n\r\n### Configuration\r\n**Operating System:**\r\nWindows 10 x64\r\n\r\n**Version of Python, python-telegram-bot & dependencies:**\r\n\r\nPython 3.6\r\nPTB  10.1.0 - Latest version\r\n"},"comment":{"url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot/issues/comments/412276429","html_url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/1155#issuecomment-412276429","issue_url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot/issues/1155","id":412276429,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjI3NjQyOQ==","user":{"login":"jsmnbom","id":3002987,"node_id":"MDQ6VXNlcjMwMDI5ODc=","avatar_url":"https://avatars1.githubusercontent.com/u/3002987?v=4","gravatar_id":"","url":"https://api.github.com/users/jsmnbom","html_url":"https://github.com/jsmnbom","followers_url":"https://api.github.com/users/jsmnbom/followers","following_url":"https://api.github.com/users/jsmnbom/following{/other_user}","gists_url":"https://api.github.com/users/jsmnbom/gists{/gist_id}","starred_url":"https://api.github.com/users/jsmnbom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsmnbom/subscriptions","organizations_url":"https://api.github.com/users/jsmnbom/orgs","repos_url":"https://api.github.com/users/jsmnbom/repos","events_url":"https://api.github.com/users/jsmnbom/events{/privacy}","received_events_url":"https://api.github.com/users/jsmnbom/received_events","type":"User","site_admin":false},"created_at":"2018-08-11T13:51:14Z","updated_at":"2018-08-11T13:51:14Z","author_association":"MEMBER","body":"\r\n> Added support for attaching custom thumbnails to uploaded files. For animations, audios, videos and video notes, which are less than 10 MB in size, thumbnails are generated automatically.\r\nThis is now documented at https://core.telegram.org/bots/api#july-26-2018.\r\n#1184 should allow setting custom thumbs for files < 10MB.\r\nClosing issue as it's not a lib issue."}}
{"actor":{"display_login":"jsmnbom"}}