I think that, strictly speaking, your sentence may be correct, but no one would say it. 'Talked' does not commonly fit into the role that you have it in. Use "said", at least.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.