pub async fn from_keys(
        secret: &str,
        session: &str,
        affiliate_code: Option<String>,
        turn_off_sign_states: bool,
        client_id: u64,
        env: Environment,
        timeout: Duration,
    ) -> Result<Self> {
        let state = State::from_keys(secret, session)?;
        Self::setup(
            state,
            affiliate_code,
            turn_off_sign_states,
            client_id,
            env,
            timeout,
        )
        .await
    }
/// Create a client using a base64 encoded keylist and session id (contents of Nash produced .json file)
Create a client using a base64 encoded keylist and session id (contents of Nash produced .json file)
Create a client using a base64 encoded keylist and session id ( contents of Nash produced . json file )
pub async fn from_keys(
        secret: &str,
        session: &str,
        affiliate_code: Option<String>,
        turn_off_sign_states: bool,
        client_id: u64,
        env: Environment,
        timeout: Duration,
    ) -> Result<Self> {
        let state = State::from_keys(secret, session)?;
        Self::setup(
            state,
            affiliate_code,
            turn_off_sign_states,
            client_id,
            env,
            timeout,
        )
        .await
    }
pub async fn from_keys ( secret : & str , session : & str , affiliate_code : Option < String > , turn_off_sign_states : bool , client_id : u64 , env : Environment , timeout : Duration , ) -> Result < Self > { let state = State :: from_keys ( secret , session ) ? ; Self :: setup ( state , affiliate_code , turn_off_sign_states , client_id , env , timeout , ) . await }
Create a client using a base64 encoded keylist and session id (contents of Nash produced .json file)
Create a client using a base64 encoded keylist and session id ( contents of Nash produced . json file )
secret
&str
session
&str
affiliate_code
Option<String>
turn_off_sign_states
bool
client_id
u64
env
Environment
timeout
Duration