set_sticker_mask_position

template<class Agent>
api_result<boolean_t, Agent&&> set_sticker_mask_position(Agent &&agent, set_sticker_mask_position_args_t args)
template<class Agent, class F>
void set_sticker_mask_position(Agent &&agent, set_sticker_mask_position_args_t args, F &&callback)

agent is any object satisfying agent concept.

callback is any callable object accepting expected<boolean_t>.

Use this method to change the mask position of a mask sticker. The sticker must belong to a sticker set that was created by the bot. Returns True on success.

struct set_sticker_mask_position_args_t

Arguments that should be passed to set_sticker_mask_position().

string_t sticker

File identifier of the sticker

optional_t<mask_position_t> mask_position

A JSON-serialized object with the position where the mask should be placed on faces. Omit the parameter to remove the mask position.