more features to sendMessage