get_business_connection¶
-
template<class Agent>
api_result<business_connection_t, Agent&&> get_business_connection(Agent &&agent, get_business_connection_args_t args)¶
-
template<class Agent, class F>
void get_business_connection(Agent &&agent, get_business_connection_args_t args, F &&callback)¶ agentis any object satisfying agent concept.callbackis any callable object acceptingexpected<business_connection_t>.Use this method to get information about the connection of the bot with a business account. Returns a BusinessConnection object on success.
-
struct get_business_connection_args_t¶
Arguments that should be passed to
get_business_connection().Unique identifier of the business connection