textme: Send a text message.

Description Usage Arguments Value Examples

View source: R/textme.R

Description

Send a text message.

Usage

1
2
textme(message = NULL, twilio_sid = NULL, twilio_token = NULL,
  twilio_phone_number = NULL, target_phone_number = NULL)

Arguments

message

A message to send.

twilio_sid

Twilio SID–not needed if supplied in tm_configure().

twilio_token

Twilio token–not needed if supplied in tm_configure.R.

twilio_phone_number

Twilio phone number–not needed if supplied in tm_configure.

target_phone_number

Target phone number–not needed if supplied in tm_configure.

Value

A text message sent from the twilio phone number to the target phone number.

Examples

1
2
3
4
5
6
7
8
# send a text message
textme()

# send a custom message
textme(message = "A new text message.")

# send a text message to a different number
textme(target_phone_number = "1234567890")

richpauloo/textme documentation built on Aug. 13, 2020, 3:11 p.m.