pub async fn replace_sticker_in_set(
user_id: i64,
name: String,
old_sticker: InputFile,
new_sticker: InputSticker,
client_id: i32,
) -> Result<(), Error>Expand description
Replaces existing sticker in a set. The function is equivalent to removeStickerFromSet, then addStickerToSet, then setStickerPositionInSet
ยงArguments
user_id- Sticker set owner; ignored for regular usersname- Sticker set name. The sticker set must be owned by the current userold_sticker- Sticker to remove from the setnew_sticker- Sticker to add to the setclient_id- The client id to send the request to