🚧 Anti-spam system based on entities

This commit is contained in:
2020-03-03 14:11:51 +04:00
parent 1441c345b2
commit 8f8898e901
9 changed files with 148 additions and 3 deletions
+19
View File
@@ -0,0 +1,19 @@
using Telegram.Bot.Types;
namespace Kruzya.TelegramBot.UrlLimitations
{
public struct ChatMember
{
public long Chat;
public long User;
public static ChatMember From(long chatId, long userId)
{
return new ChatMember()
{
Chat = chatId,
User = userId
};
}
}
}