insert Messages
Batch inserts messages into the local database.
Messages are inserted locally only and are not sent to the server. The channel info (channelType, channelId) is taken from this channel instance.
Parameters
params
List of message items to insert
handler
Callback returning true on success