Function libawr::login::login_with_password
source · pub async fn login_with_password(
uin: i64,
password: &str,
protocol: Protocol,
data_folder: impl AsRef<Path>
) -> Result<(Arc<Client>, AliveHandle), LoginError>
Expand description
使用密码登录。
Python
async def login_with_password(
uin: int,
password: str,
protocol: Protocol,
data_folder: str = "./bots",
) -> Tuple[Client, AliveHandle]: ...