vrumger / ChannelHashBot

A Telegram bot that forwards messages with hashtags from your group to your channel.

Home Page:https://t.me/ChannelHashBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow channel admins delete comments

vrumger opened this issue · comments

Currently, the owner ID is hard-coded to me (234480941) and only I can delete comments. According to the comments API docs, you can add an optional administrators property with comma separated IDs.

https://github.com/AndrewLaneX/ChannelHashBot/blob/adfaef1b1b22e3d155acf43d1c2f61324083829d/src/middleware/createComment.ts#L41-L48