style: add missing comment Telegram.Bot Api

This commit is contained in:
Andriy
2025-03-23 11:33:19 +02:00
parent 1da8dce0f7
commit acaf615f30
+1
View File
@@ -60,6 +60,7 @@ public class Ban : CommonHandler
return; return;
} }
// TODO: in Telegram.Bot >=22.4.0 this could be replaced with new ChatPermissions(true)
await Bot.RestrictChatMember(Chat.Id, RepliedUser!.Id, await Bot.RestrictChatMember(Chat.Id, RepliedUser!.Id,
new ChatPermissions new ChatPermissions
{ {