RocketChat:如何从手机向Livechat频道发送短信 [英] RocketChat: How to send SMS Messages to Livechat channel from mobile
问题描述
我想复制Livechat-Popup-Window的行为以从手机发送消息.我该怎么办?
I want to copy the behaviour of the Livechat-Popup - Window to send messages from mobile. How would I do that?
推荐答案
获取Twilio#&配置
首先,您需要 Twilio 订阅.然后从您的Twilio帐户中购买一个电话号码.该号码将用于接收来自其他电话的SMS消息并将其发送到Rocket.Chat中的LiveChat.在Twilio中,转到新电话号码的设置... 在邮件进入"下输入以下内容:
Get a Twilio # & Configure
First you need a Twilio subscription. Then purchase a phone number from within your Twilio account. This number will be used to receive SMS messages from other phone and send to LiveChat within Rocket.Chat. Within Twilio, go to your new phone number's settings... Under 'A Message Comes In' enter this:
https://<your_rocketchat_url>:<your_port_#>/api/v1/livechat/sms-incoming/twilio
这会将SMS传入的消息转发到LiveChat.
That will forward SMS incoming messages to LiveChat.
然后,在RocketChat中,转到管理"-> SMS,然后输入可在Twilio仪表板中找到的Twilio帐户SID和身份验证令牌,并确保在此页面上启用SMS ...
Then, in RocketChat, go to Administration -> SMS, and enter your Twilio Account SID and Auth Token which can be found in your Twilio dashboard and be sure to enable SMS on this page...
确保已启用LiveChat,并且您是LiveChat代理.
Be sure LiveChat is enabled and that you are a LiveChat Agent.
现在,来自其他电话的短信将显示在LiveChat中,就像来自LiveChat嵌入式弹出窗口的消息一样.您也可以在RocketChat中回复这些消息.
Now, text messages from other phones will appear in LiveChat just like messages from the LiveChat embeded pop-up window. You can respond to those messages within RocketChat as well.
这篇关于RocketChat:如何从手机向Livechat频道发送短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!