Here he calls teaching prophecy. He means that it was a gift of Prophecy, which the Greek διὰ may bear.