Function authy::api::user::call
[−]
[src]
pub fn call(
client: &Client,
id: u32,
force: bool,
action: Option<&str>,
action_message: Option<&str>
) -> Result<(Status, PhoneCall), AuthyError>
Send token to user via phone call.
For users that don't own a smartphone, and are having trouble with SMS Tokens, Authy allows you to use phone calls instead. This call will be ignored if the user is using the Authy Mobile app.
Custom Actions
You can pass action
and action_message
(optional) to send a code that
is only valid for the given action. This is useful if you require codes to
perform different actions on your app. When using this option you have to
pass the same action when verifying the code.
Please see the Authy documentation for more details: https://www.twilio.com/docs/api/authy/authy-totp#phone-call-tokens