Interface ReplaceStickerInSet

Replaces existing sticker in a set. The function is equivalent to removeStickerFromSet, then addStickerToSet, then setStickerPositionInSet. Request type for Tdjson#replaceStickerInSet.

interface ReplaceStickerInSet {
    @type: "replaceStickerInSet";
    name: string;
    new_sticker: InputSticker;
    old_sticker: InputFile;
    user_id: number;
}

Properties

@type: "replaceStickerInSet"
name: string

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

new_sticker: InputSticker

Sticker to add to the set.

old_sticker: InputFile

Sticker to remove from the set.

user_id: number

Sticker set owner; ignored for regular users.