Formal:
* O dá mi lójú lati bá ọ sọ̀rọ̀. (O da mi loju lati ba o soro.) This translates to "It was pleasant for me to talk to you."
* Mo dupẹ́ lọ́wọ́ rẹ̀ fún ìbá sọ̀rọ̀ náà. (Mo dupe lo wo re fun iba soro naa.) This translates to "I thank you for the conversation."
Informal:
* O dá mi lójú lati bá ọ sọ̀rọ̀. (O da mi loju lati ba o soro.) This translates to "It was pleasant for me to talk to you."
* Mo dupẹ́ lọ́wọ́ rẹ̀ fún ìbá sọ̀rọ̀ náà. (Mo dupe lo wo re fun iba soro naa.) This translates to "I thank you for the conversation."
* Mo ní ìgbadun lójú i bá ọ sọ̀rọ̀. (Mo ni igbadun loju i ba o soro.) This translates to "I enjoyed talking to you."
* Mo dupẹ́ fún ìbá sọ̀rọ̀ náà. (Mo dupe fun iba soro naa.) This translates to "Thank you for the conversation."
You can choose the phrase that best suits the situation and your relationship with the person you are talking to.