mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
Update to Telegram Bot Framework 2.0
This commit is contained in:
@@ -26,7 +26,8 @@ namespace Kruzya.TelegramBot.UrlLimitations
|
||||
dbCtx = coreContext;
|
||||
}
|
||||
|
||||
[Message(InChat.Public, MessageFlag.HasText)]
|
||||
[InChat(InChat.Public)]
|
||||
[Message(MessageFlag.HasText)]
|
||||
public async Task OnMessageReceived()
|
||||
{
|
||||
var option = await dbCtx.UserValues.FindOption(Chat.Id, From.Id, "urlLimitations.messagesAfterJoin");
|
||||
|
||||
Reference in New Issue
Block a user