Cut off chats because too long

For exporting chat history, you can try this solution suggested by a user: