By imessage, I can send and get message from another Apple ID. Message history is storing in /Users/username/Library/Containers/com.apple.iChat/Data/Library/Messages
(on my mac)
In that directory, there are Archive and attachments (alias). I can see all my messages and my receiver's messages.
I wonder whether I get the messages from my receiver by specific language like php, javascript, or other thing else ? How can I get those messages ?