mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
fix: unban
This commit is contained in:
@@ -64,7 +64,19 @@ public class Ban : CommonHandler
|
||||
new ChatPermissions
|
||||
{
|
||||
CanSendMessages = true,
|
||||
CanAddWebPagePreviews = true,
|
||||
CanChangeInfo = true,
|
||||
CanInviteUsers = true,
|
||||
CanManageTopics = true,
|
||||
CanPinMessages = true,
|
||||
CanSendAudios = true,
|
||||
CanSendDocuments = true,
|
||||
CanSendOtherMessages = true,
|
||||
CanSendPhotos = true,
|
||||
CanSendPolls = true,
|
||||
CanSendVideos = true,
|
||||
CanSendVideoNotes = true,
|
||||
CanSendVoiceNotes = true,
|
||||
});
|
||||
|
||||
await Reply($"{From.ToHtml()} <code>разблокировал</code> {RepliedUser!.ToHtml()}");
|
||||
|
||||
Reference in New Issue
Block a user