Use the new version of TelegramBotFramework

This commit is contained in:
2021-12-22 01:27:56 +04:00
parent 2c158330cc
commit 73ed1d88a9
7 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ namespace Kruzya.TelegramBot.Core
await VerifyChatPair(chat.Id, user.Id);
}
public async Task VerifyChatPair(long chat, int user)
public async Task VerifyChatPair(long chat, long user)
{
var hasEntry = await databaseContext.Users.AnyAsync(e => e.ChatId == chat && e.UserId == user);
if (hasEntry)
@@ -64,7 +64,7 @@ namespace Kruzya.TelegramBot.Core
await MakeChatPair(chat, user);
}
public async Task MakeChatPair(long chat, int user)
public async Task MakeChatPair(long chat, long user)
{
await databaseContext.Users.AddAsync(new BotUser()
{