verify_user

template<class Agent>
api_result<boolean_t, Agent&&> verify_user(Agent &&agent, verify_user_args_t args)
template<class Agent, class F>
void verify_user(Agent &&agent, verify_user_args_t args, F &&callback)

agent is any object satisfying agent concept.

callback is any callable object accepting expected<boolean_t>.

Verifies a user on behalf of the organization which is represented by the bot. Returns True on success.

struct verify_user_args_t

Arguments that should be passed to verify_user().

integer_t user_id

Unique identifier of the target user

optional_t<string_t> custom_description

Custom description for the verification; 0-70 characters. Must be empty if the organization isn’t allowed to provide a custom verification description.