Data structure:
chats
id - chat id
hash - md5 hash for chat link
address_id - for order and dispute
type - private/shop/order/dispute/ticket
status
title - title
created_at - datetime of creation date
chat_users
id - record id
user_id - user id
chat_id - chat id
last_readed - last message...