change sendMessage api

send message api can send multiple messages now