replace_sticker_in_set


Description:

public async Ok replace_sticker_in_set (int64 user_id, string name, InputFile old_sticker, InputSticker new_sticker) throws TDLibError

Replaces existing sticker in a set. The function is equivalent to Client.remove_sticker_from_set then Client.add_sticker_to_set then Client.set_sticker_position_in_set

Parameters:

user_id

Sticker set owner; ignored for regular users

name

Sticker set name. The sticker set must be owned by the current user

old_sticker

Sticker to remove from the set

new_sticker

Sticker to add to the set