iyear/searchx

Request to add the function of regularly refreshing the channel history

spiritLHLS opened this issue · 1 comments

Request to add the function of periodically refreshing the channel history, because the channel information can be modified at any time. If you only import historical information or monitor subsequent information, you cannot modify past information in bot.

iyear commented

@spiritLHLS

bot.Handle(tele.OnEditedChannelPost, channel.Index)

Bot has done this. Both historical posts and subsequent posts will be re-indexed once the edit event is triggered.

Similarly, the same has been done for group message editing.

bot.Handle(tele.OnEdited, group.OnText)