Add todos
This commit is contained in:
parent
88981faa31
commit
21d5b562f0
@ -6,7 +6,7 @@
|
||||
<MicrosoftVersion>8.0.0</MicrosoftVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Label="Nocr">
|
||||
<PackageVersion Include="Nocr.TextMatcher.Async.Api.Contracts" Version="0.4.1" />
|
||||
<PackageVersion Include="Nocr.TextMatcher.Async.Api.Contracts" Version="0.4.4" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Label="Telegram">
|
||||
<PackageVersion Include="WTelegramClient" Version="3.7.1" />
|
||||
|
||||
@ -9,7 +9,7 @@ public sealed class MessageReceived : IEvent
|
||||
public long From { get; set; }
|
||||
|
||||
public long ChatId { get; set; }
|
||||
|
||||
|
||||
public string ChatUsername { get; set; } = default!;
|
||||
|
||||
public DateTimeOffset OccuredDateTime { get; set; }
|
||||
|
||||
@ -41,6 +41,7 @@ public class Startup
|
||||
public void Configure(IApplicationBuilder app)
|
||||
{
|
||||
var bus = app.ApplicationServices.GetRequiredService<IBus>();
|
||||
bus.Advanced.Topics.Subscribe("nocr.text.matcher").GetAwaiter().GetResult();
|
||||
// TODO:
|
||||
bus.Advanced.Topics.Subscribe("nocr.text.matcher.matches").GetAwaiter().GetResult();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user