added session path for telegram client.

This commit is contained in:
ruberoid 2024-04-04 16:49:36 +04:00
parent 53bda5b83f
commit d172a00cb7
2 changed files with 27 additions and 0 deletions

View File

@ -48,6 +48,8 @@ public sealed class TelegramClientContainer : ITelegramClientContainer, IDisposa
{
case "api_id": return _options.ApiId;
case "api_hash": return _options.ApiHash;
case "session_pathname": return ".secrets/WTelegram.session";
case "phone_number": return _options.PhoneNumber;
case "verification_code":
Console.Write("Code: ");

View File

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.002.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nocr.TelegramListener.Host", "Nocr.TelegramListener.Host.csproj", "{CFF9C09C-D157-4B97-87B4-74008ACA2429}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{CFF9C09C-D157-4B97-87B4-74008ACA2429}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CFF9C09C-D157-4B97-87B4-74008ACA2429}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CFF9C09C-D157-4B97-87B4-74008ACA2429}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CFF9C09C-D157-4B97-87B4-74008ACA2429}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4FC53B3E-B8EC-4E59-ADE5-80ABAD60F371}
EndGlobalSection
EndGlobal