set_sticker_position_in_set

template<class Agent>
api_result<boolean_t, Agent&&> set_sticker_position_in_set(Agent &&agent, set_sticker_position_in_set_args_t args)
template<class Agent, class F>
void set_sticker_position_in_set(Agent &&agent, set_sticker_position_in_set_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 move a sticker in a set created by the bot to a specific position. Returns True on success.

struct set_sticker_position_in_set_args_t

Arguments that should be passed to set_sticker_position_in_set().

string_t sticker

File identifier of the sticker

integer_t position

New sticker position in the set, zero-based