如何以编程方式在 RingCentral 上发送消息?

How to send messages on RingCentral programmatically?

我正在尝试创建一个不时向群组发送消息的程序。如果我没记错的话,我看到发送消息的唯一 API 是“Create Post" which is the "Team Messaging" section. This API uses Glip permission. The test messages that I was sending is being sent to the developer Glip-App account, when I logged into the Glip-App account, the page didn't look like the regular RingCentral 应用程序。UI 不同。我有一种感觉,我正在处理错误的 API.

我还有几个问题。我的程序只需要发送消息,但为了申请生产,我还得练习其他API调用,比如Get、Delete、Update等。我不知道为什么会这样.另外,我必须练习所有给予的许可,但我给予的唯一许可是Glip,它仍然处于红色状态。

最后,我发送的测试消息,在 Glip App 页面上显示了用户的真实姓名。有什么方法可以使用别名吗?

The test messages that I was sending is being sent to the developer Glip-App account, when I logged into the Glip-App account, the page didn't look like the regular RingCentral app.

RC 应用程序现在有两个开发者沙箱帐户,一个用于新应用程序,一个用于旧版应用程序。此时,您应该使用新的 URL。遗留 URL 仍然存在用于测试目的,并将在未来某个时候停用,届时 URL 应该重定向到新的 URL.

My program is only required to send messages, but in order to apply for production, I have to practice other API calls as well, such as Get, Delete, Update etc. I'm not sure why it is like that. Also, I had to practice all the permission given, but the only permission I have given is Glip and it's still in the red.

这不应该是这样的。请contact the support team regarding this.

Finally, the test messages that I've sent, showing the user's actual name on the Glip App page. Is there a way that I can use an alias?

如果您 post 使用用户的凭据,将显示用户名,因为代表的是用户,而不是应用程序。您还可以 post 使用 webhook 或聊天机器人加入团队,在这种情况下会出现其他名称。