Bluestep JS Documentation
    Preparing search index...

    Class TextMessage

    Used to send an text. See [[B.Text]]

    Index

    Constructors

    Methods

    Constructors

    Methods

    • The id of the relate entry that contains the phone number used for texting

      Parameters

      • unit: string

      Returns TextMessage

    • The message to send to the phone number.

      Parameters

      • message: string

      Returns TextMessage

    • This sends the text message.

      Returns void

    • This method receives a single phone number to send a message to. Should be in format +18013363043. If country code is not specified, +1 will be assumed.

      Parameters

      • to: string

      Returns TextMessage

    • The fully qualified unit id ('ex: 111000_U12345__148522') that has been pre-configured for Bandwidth Messaging.

      Parameters

      • unit: string

      Returns TextMessage