[bot interface] pass current connection to the callback_connect