replace_sticker_in_set()¶
- async Client.replace_sticker_in_set()¶
Replace an existing sticker in a sticker set with a new one.
Usable by Users Bots- Parameters:
user_id (
int|str) – Unique identifier (int) or username (str) of the sticker set owner.old_sticker (
str) – File identifier of the replaced sticker.sticker (
InputSticker) – The new sticker.
- Returns:
StickerSet– The updated sticker set is returned.