1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Fix .webm async upload

This commit is contained in:
Dmitry 2023-02-18 22:36:29 +02:00 committed by GitHub
parent d12ea91e12
commit 7a67d5f9f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1601,8 +1601,6 @@ async def create_new_sticker_set(
payload[stype] = sticker payload[stype] = sticker
if mask_position: if mask_position:
payload['mask_position'] = mask_position.to_json() payload['mask_position'] = mask_position.to_json()
if webm_sticker:
payload['webm_sticker'] = webm_sticker
if sticker_type: if sticker_type:
payload['sticker_type'] = sticker_type payload['sticker_type'] = sticker_type
return await _process_request(token, method_url, params=payload, files=files, method='post') return await _process_request(token, method_url, params=payload, files=files, method='post')