get_my_description

template<class Agent>
api_result<bot_description_t, Agent&&> get_my_description(Agent &&agent, get_my_description_args_t args)
template<class Agent, class F>
void get_my_description(Agent &&agent, get_my_description_args_t args, F &&callback)

agent is any object satisfying agent concept.

callback is any callable object accepting expected<bot_description_t>.

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

struct get_my_description_args_t

Arguments that should be passed to get_my_description().

optional_t<string_t> language_code

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