mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
style: add missing comment Telegram.Bot Api
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user