mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
commit
80c1a4798d
@ -1612,8 +1612,6 @@ 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 _make_request(token, method_url, params=payload, files=files, method='post')
|
return _make_request(token, method_url, params=payload, files=files, method='post')
|
||||||
|
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user