Function authy::api::phone::info
[−]
[src]
pub fn info(
client: &Client,
country_code: u16,
phone: &str,
user_ip: Option<&str>
) -> Result<(Status, PhoneInfo), AuthyError>
Request information on a phone number.
The Authy Phone Intelligence API provides information about a phone number. We return 3 key pieces of information.
- type of phone number [cell phone | landline | voip]
- provider of the number, e.g. "AT&T Wireless"
- If the number has been ported from a previous provider.
Please see the Authy documentation for more details: https://www.twilio.com/docs/api/authy/authy-phone-intelligence-api