Merge pull request #1921 from zeldpol/patch-1

Fix .webm upload
This commit is contained in:
Badiboy 2023-02-18 23:46:03 +03:00 committed by GitHub
commit 80c1a4798d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

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

View File

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