我想测试Telerivet API并使用以下代码:
TelerivetAPI tr = new TelerivetAPI(YOUR_API_KEY);
Project project = tr.initProjectById(project_id);
Message sent_msg = project.sendMessage(Util.options(
"content", "hello world",
"to_number", "+16505550123"
));
我得到的错误是.options(..)
,它说The type of options(Object...) is erroneous
。怎么解决?感谢。