This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我正在使用它来发送图像,但它只接受一个 URL。如何设置本地图像?
JSONObject media = new JSONObject();
media.put("type", "image");
media.put("src", "URL");
media.put("href", "http://meadjohnsonasia.com.my/mobileapp");
attachment.put("media", new JSONArray().put(media));