Contentum
#Releasev1.6.0 #master branch updated BREAKING CHANGE: * Telegram bot library has been migrated from python-telegram-bot (which uses HTTP Bot API and is synchronous) to telethon (which uses MTProto Bot API and is asynchronous) |- However, to use MTProto Bot API, an API key is needed. The bot has 7 built-in API keys (collected from the Internet) and in most cases it should not be unable to log in. But if so, please obtain your own API key ( seedocker-compose.yml.samplefor details) New features: * Thanks to the migration of Telegram bot library, bot can now connect to its DC directly, need not detour through the HTTP Bot API and keep polling to get new messages. Which makes the bot receive and reply messages more rapidly and lightweightedly. Even if the HTTP Bot API is down, the bot can still run unaffectedly. (more details: Advantages of MTProto over Bot API , MTProto vs HTTP Bot API) * Support parsing more HTML elements |- <iframe> |- <video><source><source>...</video> |- <code> |- <pre> * Support OPML importing and exporting * Support sending too-long post via Telegraph (env var TELEGRAPH_TOKEN must be set) * Support redis as db |- Note: This is a workaround for deploying the bot on railway.app, will be dropped in the future * Support arm64 (docker build) * Support resending a message using a media relay server if Telegram cannot send a message with media due to Telegram server instability or network instability between media server and Telegram server * Support colored logging * docker-compose.yml.sample * /version command to check bot version * Automatically use proxy if global proxy (env var SOCKS_PROXY/HTTP_PROXY) set Changes: * Assign feed monitoring tasks to every minute, instead of executing all at once each DELAY |- Thus, env var DELAY can only be 60~3600 |- Note: env var DELAY will be deprecated in the future * Recognize a post by its guid/id instead of link * Simplify the output of /list * Bump Python to 3.9 (docker build) * Minor fixes Official channel | Official group | GitHub repo | Patreon