phoneNumbers

Top  Previous  Next

Twilio only allows to send text messages or call phones from a set of registered phone numbers. This function returns the list of numbers.

Definition

numbers = twilio.phoneNumbers()

 

Name

Type

Description

numbers

table of strings

Allowed source phone numbers.

Example

for _, number in ipairs(numbers) do

 print(number)

end

This will print a list of phone numbers.

Related

Twilio

sendSMS

callNumber

Availability

Lua