question

Ext 45211 avatar image
Ext 45211 asked Embbnux Ji answered

RingCentral Embeddable Project - React - Group texting

Hello,

We are looking for a feature of group texting in ringcentral embeddable project. Do you have this feature where we need to send group text to 3 to 4 mobile numbers?If not available, can you provide some insights so that we can implement ourselves.


Thanks

Venu

embeddableapp
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Embbnux Ji avatar image
Embbnux Ji answered Ext 45211 commented

Hi @Ext 45211 Currently the embeddable widget doesn't support group SMS now. It is in backlog, but no ETA now.

1 comment
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Ext 45211 avatar image Ext 45211 commented ·

Thanks . Currently we are customizing the embeddable widget to meet our needs. Can you provide a direction of how can we include group widgets at high level so that we can work on that? Is there a ringcentral-js-widget that supports it. As this is critical for us, if you can provide high level how to achieve this we will implement.

0 Likes 0 ·
Ext 45211 avatar image
Ext 45211 answered Ext 45211 commented

@Embbnux Ji Thanks . Currently we are customizing the embeddable widget to meet our needs. Can you provide a direction of how can we include group widgets at high level so that we can work on that? Is there a ringcentral-js-widget that supports it. As this is critical for us, if you can provide high level how to achieve this we will implement.


3 comments
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Ext 45211 avatar image Ext 45211 commented ·

@Embbnux Ji @Phong Vu can you please provide more details here for us to move forward in the right direction?

0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ Ext 45211 commented ·

Embbnux developed the embeddable so he would know in and out how to customize it. He is not available until next week.

Right now, the embeddable supports multiple recipients (enter phone numbers separated by a comma) and the app will send the message one by one to the recipients.

If you customize the embeddable and host the app on your server, I guess that you can try to find the code, where the app calls the POST /sms endpoint and modify it to send as group message (you can define a new limiter using e.g. a semi-colon ";" for group messaging). Group message can be sent but putting the recipient numbers to the "to" array. E.g.

{
   from: {phoneNumber: "1111111111"},
   to: [ {phoneNumber: "22222222"}, {phoneNumber: "3333333333"}, {phoneNumber: "4444444444"} ],
   text: "Hello world"
}
1 Like 1 ·
Ext 45211 avatar image Ext 45211 Phong Vu ♦♦ commented ·

Thanks @Phong Vu . We will explore and wait for @Embbnux Ji to get instructions in specific to embedded app.


Thanks

Venu

0 Likes 0 ·
Embbnux Ji avatar image
Embbnux Ji answered

Hi @Ext 45211 the embeddable is based on RingCentral JS Widgets library (react and redux) https://github.com/ringcentral/ringcentral-js-widgets. You need to learn the widgets's framework. It is based on modules and page.

To add the group SMS feature, you will need to update the source code of RingCentral Embeddable https://github.com/ringcentral/ringcentral-embeddable
1. Firstly you need to override send function in MessageSender module: https://github.com/ringcentral/ringcentral-embeddable/blob/master/src/modules/MessageSender/index.ts#L12

Base send function here: https://github.com/ringcentral/ringcentral-js-widgets/blob/master/packages/ringcentral-integration/modules/MessageSender/MessageSender.ts#L247

2. Then you will also need to override ComposeText page to have group message enable flag.https://github.com/ringcentral/ringcentral-js-widgets/blob/master/packages/ringcentral-widgets/components/ComposeTextPanel/index.tsx
BTW, let me talk with our PM to check if we can have some plan on this.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys