efb-telegram-master
efb-telegram-master copied to clipboard
EFB Telegram Master Channel, a channel for EH Forwarder Bot.
close https://github.com/ehForwarderBot/efb-telegram-master/issues/137, 用法详情可参考 https://jiz4oh.com/2025/04/set-topic-in-efb
[python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot/blob/680cca8262ab3e8dc00916ec523b9e015db5bc22/telegram/files/inputmedia.py#L456-L458) 中构建 `InputMedia` 的时候允许传入 `filename` 参数,如果不传入的话会 [推断 filename](https://github.com/python-telegram-bot/python-telegram-bot/blob/680cca8262ab3e8dc00916ec523b9e015db5bc22/telegram/files/inputfile.py#L57-L79),这里优先使用 efb message 的 filename,保持一致性
so the slave channel can set the message as target and report the message status if failed 
**Is your feature request related to a problem? Please describe.** Sometimes slave channel would fail to send a message. **Describe the solution you'd like** slave channel can report the message...
**Describe the bug** Send media twice after replace a text message with media **To Reproduce** 1. send a message with a placeholder text e.g. `Download failed` 2. edit the message...
如果 bot 被管理员移除,后续无法接收到该群组的消息,这个 pr 可以获取到 bot 被移除的消息然后删除 chatassoc
给 Location message 添加三个按钮,可用于跳转到 百度、高德、腾讯 地图的网页版,便于在电脑端的 tg 上查看。效果如下:
`TelegramBotManager` 在类实例化时设置了 [`Decorators.enable_retry`](https://github.com/ehForwarderBot/efb-telegram-master/blob/0850aeb294260c3cc14d382991837f99e12fae8c/efb_telegram_master/bot_manager.py#L180) 的值,但是 [`retry_on_timeout`](https://github.com/ehForwarderBot/efb-telegram-master/blob/0850aeb294260c3cc14d382991837f99e12fae8c/efb_telegram_master/bot_manager.py#L51-L54) 早在类定义的时候已经被执行,导致 `retry_on_error` 设置无效
当 member 进入 cache 之后,更新 name, alias, description 无法正确反应。由 2768071 引入
序列化和反序列化 message 的 vendor_specific 字段,目前用于存储 comwechat slave 原始的微信 xml 数据以供后续使用