Click or drag to resize

IMessageAddPhoneNumber Method

Adds a new phone number to the account.

Namespace:  NetQuarry.Services
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
TwilioNumber AddPhoneNumber(
	string areaCode,
	NumberCapabilities capabilities = null,
	string nearNumber = null
)

Parameters

areaCode
Type: SystemString
Optional search parameter
capabilities (Optional)
Type: NetQuarry.ServicesNumberCapabilities
The number capabilities requested. By default, MMS, SMS, and Voice
nearNumber (Optional)
Type: SystemString
Optional search param. If this is supplied it will be used instead of area code.

Return Value

Type: TwilioNumber
The phone number added.
See Also