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
)
Function AddPhoneNumber (
areaCode As String,
Optional capabilities As NumberCapabilities = Nothing,
Optional nearNumber As String = Nothing
) As TwilioNumber
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:
TwilioNumberThe phone number added.
See Also