pub async fn auth_by_phone(
        &self,
        device_id: &str,
        session_id: &str,
        phone: &str,
    ) -> ResponsePayload<Nothing> {
        self.request(
            "/v1/auth/by/phone",
            &[("deviceId", device_id), ("sessionid", session_id)],
            &[("phone", phone)],
        )
        .await
        .json()
        .await
        .unwrap()
    }
/// Start auth by phone.
///
/// If successful case API returns operation ticket and user will get SMS code. All this
/// details are needed to confirm auth in future.
Start auth by phone.
If successful case API returns operation ticket and user will get SMS code. All this
details are needed to confirm auth in future.
Start auth by phone . If successful case API returns operation ticket and user will get SMS code . All this details are needed to confirm auth in future .
pub async fn auth_by_phone(
        &self,
        device_id: &str,
        session_id: &str,
        phone: &str,
    ) -> ResponsePayload<Nothing> {
        self.request(
            "/v1/auth/by/phone",
            &[("deviceId", device_id), ("sessionid", session_id)],
            &[("phone", phone)],
        )
        .await
        .json()
        .await
        .unwrap()
    }
pub async fn auth_by_phone ( & self , device_id : & str , session_id : & str , phone : & str , ) -> ResponsePayload < Nothing > { self . request ( " " , & [ ( " " , device_id ) , ( " " , session_id ) ] , & [ ( " " , phone ) ] , ) . await . json ( ) . await . unwrap ( ) }
Start auth by phone.
Start auth by phone .
&self
device_id
&str
session_id
&str
phone
&str
&self
device_id
&str
session_id
&str
phone
&str