replace_sticker_in_set¶
-
template<class Agent>
api_result<boolean_t, Agent&&> replace_sticker_in_set(Agent &&agent, replace_sticker_in_set_args_t args)¶
-
template<class Agent, class F>
void replace_sticker_in_set(Agent &&agent, replace_sticker_in_set_args_t args, F &&callback)¶ agentis any object satisfying agent concept.callbackis any callable object acceptingexpected<boolean_t>.Use this method to replace an existing sticker in a sticker set with a new one. The method is equivalent to calling deleteStickerFromSet, then addStickerToSet, then setStickerPositionInSet. Returns True on success.
-
struct replace_sticker_in_set_args_t¶
Arguments that should be passed to
replace_sticker_in_set().User identifier of the sticker set owner
Sticker set name
File identifier of the replaced sticker
-
input_sticker_t sticker¶
A JSON-serialized object with information about the added sticker. If exactly the same sticker had already been added to the set, then the set remains unchanged.
-
input_sticker_t sticker¶