mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2026-04-05 14:35:43 +00:00
A null config value for "password" will also show a console prompt
This commit is contained in:
parent
a473475e11
commit
5e2ddf41f6
4 changed files with 17 additions and 7 deletions
|
|
@ -103,7 +103,7 @@ namespace WTelegram
|
|||
"lang_pack" => "",
|
||||
"lang_code" => CultureInfo.CurrentUICulture.TwoLetterISOLanguageName,
|
||||
"user_id" => "-1",
|
||||
"verification_code" => AskConfig(config),
|
||||
"verification_code" or "password" => AskConfig(config),
|
||||
_ => null // api_id api_hash phone_number... it's up to you to reply to these correctly
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue