选项类型(对象...)是错误的,Telerivet API

时间:2016-04-08 10:22:13

标签: java error-handling compiler-errors

我想测试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。怎么解决?感谢。

0 个答案:

没有答案