diff --git a/telebot/apihelper.py b/telebot/apihelper.py index a555f35..17c3e41 100644 --- a/telebot/apihelper.py +++ b/telebot/apihelper.py @@ -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') diff --git a/telebot/asyncio_helper.py b/telebot/asyncio_helper.py index 22ca554..6a92b87 100644 --- a/telebot/asyncio_helper.py +++ b/telebot/asyncio_helper.py @@ -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')