add_sticker_to_set¶
-
template<class Agent>
api_result<boolean_t, Agent&&> add_sticker_to_set(Agent &&agent, add_sticker_to_set_args_t args)¶
-
template<class Agent, class F>
void add_sticker_to_set(Agent &&agent, add_sticker_to_set_args_t args, F &&callback)¶ agent
is any object satisfying agent concept.callback
is any callable object acceptingexpected<boolean_t>
.Use this method to add a new sticker to a set created by the bot. The format of the added sticker must match the format of the other stickers in the set. Emoji sticker sets can have up to 200 stickers. Animated and video sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns True on success.
-
struct add_sticker_to_set_args_t¶
Arguments that should be passed to
add_sticker_to_set()
.User identifier of sticker set owner
Sticker set name
-
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 isn’t changed.
-
input_sticker_t sticker¶