Export in Talk V. 19.0.0

Hello everyone,
Does anyone have an idea how to recreate an export function for chat histories in the “Talk” app?
Alternatively, it would be helpful to know in which directory you can find the chat histories on the server.

Chats are in your database

Can you tell me in which directory I can find the chats?