Bixby Developer Center

Guides
References

Text Messages

This sample capsule is a quick demonstration of how to use the Text Message library. With this library, your Bixby capsules can send text messages on supported devices.

Download Capsule

After you compile the NL model, open the Device Simulator and set the target to mobile. Enter (or say) the query "Start".

This action will bring up a cell card for a business. To send a text message, either click on the card or say "Send feedback".

To properly test this, you'll need to do on-device testing, since the Simulator isn't capable of making phone calls . You can change the phone number on the sample card by editing the phone number in FindBusiness.js.

Note

Because you cannot submit a capsule with the example namespace, in order to test a sample capsule on a device, you must change the id in the capsule.bxb file from example to your organization's before making a private submission.

For example, if your namespace is acme, change example.textMessageExample to acme.textMessageExample.


Video Tutorial: Enable Your Capsule to Send Text/SMS Messages