set_my_short_description¶
-
template<class Agent>
api_result<boolean_t, Agent&&> set_my_short_description(Agent &&agent, set_my_short_description_args_t args)¶
-
template<class Agent, class F>
void set_my_short_description(Agent &&agent, set_my_short_description_args_t args, F &&callback)¶ agent
is any object satisfying agent concept.callback
is any callable object acceptingexpected<boolean_t>
.Use this method to change the bot’s short description, which is shown on the bot’s profile page and is sent together with the link when users share the bot. Returns True on success.
-
struct set_my_short_description_args_t¶
Arguments that should be passed to
set_my_short_description()
.-
optional_t<string_t> short_description¶
New short description for the bot; 0-120 characters. Pass an empty string to remove the dedicated short description for the given language.
-
optional_t<string_t> language_code¶
A two-letter ISO 639-1 language code. If empty, the short description will be applied to all users for whose language there is no dedicated short description.
-
optional_t<string_t> short_description¶