rocket.chat

RocketChat: How to send SMS Messages to Livechat channel from mobile

蓝咒 提交于 2019-12-10 10:15:36
问题 I want to copy the behaviour of the Livechat-Popup - Window to send messages from mobile. How would I do that? 回答1: 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

How to get unread message via rest api in Rocket.chat

扶醉桌前 提交于 2019-12-07 06:15:44
问题 Hello I have used this https://rocket.chat/docs/developer-guides/rest-api/im/history for get unread message via rest API. Example Call 1) (https://rcserver.rocket.chat/api/v1/im.history?roomId=ByehQjC44FwMeiLbX?&unreads=true) 2) (https://rcserver.rocket.chat/api/v1/im.history?roomId=ByehQjC44FwMeiLbX?&unreads=”+ true) Code HttpClient client = new HttpClient(); client.BaseAddress = new Uri(Constants.CONST_SITEURL); client.DefaultRequestHeaders.Accept.Add( new MediaTypeWithQualityHeaderValue(

RocketChat: How to send SMS Messages to Livechat channel from mobile

旧巷老猫 提交于 2019-12-05 19:45:09
I want to copy the behaviour of the Livechat-Popup - Window to send messages from mobile. How would I do that? 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 That will forward SMS incoming messages to LiveChat. Tell Rocket.Chat to Listen

How to get unread message via rest api in Rocket.chat

爷,独闯天下 提交于 2019-12-05 12:34:48
Hello I have used this https://rocket.chat/docs/developer-guides/rest-api/im/history for get unread message via rest API. Example Call 1) ( https://rcserver.rocket.chat/api/v1/im.history?roomId=ByehQjC44FwMeiLbX?&unreads=true ) 2) ( https://rcserver.rocket.chat/api/v1/im.history?roomId=ByehQjC44FwMeiLbX?&unreads= ”+ true) Code HttpClient client = new HttpClient(); client.BaseAddress = new Uri(Constants.CONST_SITEURL); client.DefaultRequestHeaders.Accept.Add( new MediaTypeWithQualityHeaderValue("application/json")); client.DefaultRequestHeaders.Add("X-Auth-Token", authToken); client

Rocket Chat Hubot Adapter is not replying back

帅比萌擦擦* 提交于 2019-11-29 14:34:14
Hi i am running hubot with rocket chat. I have created another user "mybot" having bot role and used it and got connected successfully. Below are my environment variables export ROCKETCHAT_ROOM='' export LISTEN_ON_ALL_PUBLIC=true export ROCKETCHAT_USER=mybot export ROCKETCHAT_PASSWORD=123456789 export ROCKETCHAT_AUTH=password Hubot is not responding back to me when i am sending any message. Messages send are visible in terminal logs but a return message is not shown from the hubot. Screenshot of terminal 来源: https://stackoverflow.com/questions/52659602/rocket-chat-hubot-adapter-is-not-replying

Rocket Chat Hubot Adapter is not replying back

a 夏天 提交于 2019-11-28 08:28:04
问题 Hi i am running hubot with rocket chat. I have created another user "mybot" having bot role and used it and got connected successfully. Below are my environment variables export ROCKETCHAT_ROOM='' export LISTEN_ON_ALL_PUBLIC=true export ROCKETCHAT_USER=mybot export ROCKETCHAT_PASSWORD=123456789 export ROCKETCHAT_AUTH=password Hubot is not responding back to me when i am sending any message. Messages send are visible in terminal logs but a return message is not shown from the hubot. Screenshot