get_my_short_description

template<class Agent>
api_result<bot_short_description_t, Agent&&> get_my_short_description(Agent &&agent, get_my_short_description_args_t args)
template<class Agent, class F>
void get_my_short_description(Agent &&agent, get_my_short_description_args_t args, F &&callback)

agent is any object satisfying agent concept.

callback is any callable object accepting expected<bot_short_description_t>.

Use this method to get the current bot short description for the given user language. Returns BotShortDescription on success.

struct get_my_short_description_args_t

Arguments that should be passed to get_my_short_description().

optional_t<string_t> language_code

A two-letter ISO 639-1 language code or an empty string