Telegram News / Beta / Unofficial Desktop Versions / Web / TG Bots / Subreddit / DMG by RTP [MacOS]
234 subscribers
1.78K photos
2.77K videos
1.14K files
19.9K links
Telegram Channel by @roadtopetabyte http://pixly.me/rtp - Announcements: @rtptme
Download Telegram
Telegram bot incorrectly deletes messages when admins post anonymously via "Direct Messages
My bot has a link block function so I can keep spammers off, and it have a few exceptions that allows link posts such as admins, annonimous post at groups, etc. but when I answer a question on direct message at a channel (the same bot is responsible to post at my channels) it deletes the message cuz it has a linkMy code for this is: Am I missing something? # --- Constants ---ANONYMOUS_BOT_ID = 1087968824TELEGRAM_SERVICE_ID = 777000# --- Regex for link detection ---REGEX_SMART_LINK = re.compile(r'(https?://|www\.)\S+|'r't\.me/[\w_]+|'r'telegram\.me/[\w_]+|'r'@(?!admin\b|mod\b|support\b|staff\b)[\w_]{5,}|'r'\b[\w-]{2,}\s*[\([\[\{]?\.[\)\]\}]?\s*(com|net|org|io|xyz|br|info|biz|site|online)\b',re.IGNORECASE | re.VERBOSE)# --- Method: Detects if message contains links ---def _contains_link(self, message: Message) -> bool:entities = []if message.entities: entities.extend(message.entities)if message.caption_entities: entities.extend(message.caption_entities)for entity in entities:if entity.type in ['url', 'text_link', 'mention']: return Truetext = message.text or message.caption or ""if not text: return Falseif REGEX_SMART_LINK.search(text): return Truereturn False# --- Method: Checks if user is admin/authorized ---def _is_authorized_user(self, user_id: int, chat_id: int) -> bool:if user_id == self.bot_id: return Trueif user_id in self.cfg.allowed_users: return Trueif chat_id == user_id: return Falsecache_key = f"{chat_id}_{user_id}"now = time.time()if cache_key in self._admin_cache:expiry, is_admin = self._admin_cache[cache_key]if now < expiry: return is_admintry:member = self.bot.get_chat_member(chat_id, user_id)is_admin = member.status in ['creator', 'administrator']self._admin_cache[cache_key] = (now + self._admin_cache_ttl, is_admin)return is_adminexcept Exception:return False# --- Method: Applies punishment (deletion + violation count) ---def _punish_link_sender(self, message: Message) -> None:if not message.from_user: returnuser_id = message.from_user.idchat_id = message.chat.iduser_name = message.from_user.first_nameuid_str = str(user_id)current_violations = self.link_violations.get(uid_str, 0) + 1self.link_violations[uid_str] = current_violationsself.persistence.save_json(self.cfg.VIOLATIONS_FILE, self.link_violations)chat_name = self.get_chat_display_name(chat_id)logger.info(f"🚫 Link in {chat_name}: {user_name} ({user_id}) #{current_violations}")try: self.bot.delete_message(chat_id, message.message_id)except Exception: passif current_violations >= 3:threading.Thread(target=self._apply_global_punishment, args=(user_id, user_name, 'mute'), daemon=True).start()# --- Main Handler (where the bug occurs) ---u/self.bot.message_handler(func=lambda m: m.chat.type in ['supergroup', 'group', 'channel'], content_types=['text', 'caption', 'photo', 'video', 'document', 'audio', 'voice', 'animation'])def handler_generic_group(m: Message):# ... [other logic] ...# 🔴 PROBLEM: Messages from "Direct Messages" (Post as Channel) arrive with:# • m.chat.type = 'supergroup' (NEVER 'channel')# • m.sender_chat = channel object (e.g., -100...)# • m.from_user = None OR ANONYMOUS_BOT_ID (1087968824)# • m.is_automatic_forward = ??? (not currently checked reliably)if self._contains_link(m):# Current protection logic (FAILS in some cases):is_group_anon = (m.sender_chat and m.sender_chat.id == m.chat.id) # FALSE for linked channel postsis_channel_anon = (m.sender_chat and m.from_user and m.from_user.id == ANONYMOUS_BOT_ID) # FALSE when m.from_user is Noneis_telegram = (m.from_user and m.from_user.id == TELEGRAM_SERVICE_ID)if is_group_anon or is_channel_anon or is_telegram:pass # Authorized → skip punishmentelse:if m.from_user and not self._is_authorized_user(m.from_user.id, m.chat.id):self._punish_link_sender(m) # ⚠️ WRONGFULLY EXECUTED for channel postsreturn

Submitted January 30, 2026 at 02:10PM by delagostini
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1qr5123/telegram_bot_inco
Need a TG Automation
Hey everyone!I'm looking for a simple local bot, to do the following- message pending request on a channel that I'm the admin
- I will be using TG premium account (option to Send When Online)
- to the ones that are recently online, send message immediately (can set up time between messages)
- to the ones that are not online recently - do the Send When Online optionAnyone capable of doing this?

Submitted January 30, 2026 at 04:47PM by systematicfailur3
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1qr91yn/need_a_tg_automation/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
Are there any good bots for getting website screenshot?
Wanted to get screenshots of websites/links without visiting them. Is there a good bot around? I searched a few, but most of them are not working.

Submitted January 30, 2026 at 06:57PM by ZippyTyro
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1qrcqwg/are_there_any_good_bots_for_getting_website/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
Any voice audio based telegram bot for Artificial chat now still working?
Any voice audio based telegram bot for Artificial chat now still working? Any voice audio based telegram bot now still working? I store all the voice notes in telegram that's why I don't want another app

Submitted January 30, 2026 at 11:03PM by Impressive_Pipe191
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1qrjkj2/any_voice_audio_based_telegram_bot_for_artificial/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
Some really great bots that NEED your attention
Guys I use these on daily basis and tbh these are the best one I've yet foundENJOY!!!https://nudeme.cc?t=CV&bot=AInude_imageTOvid_bot&start=1182986120https://wjhvnewk.shop/tg/bot?username=video_photo_nude2_ai_bot&ref_id=1182986120https://bot-x.org/cyberreal?r=1182986120https://venerabot.com/1182986120https://bot-x.org/hottok?r=1182986120https://link.nudify.systems/?r MTE4Mjk4NjEyMIY5MS8https://udrezz.com/r/1182986120https://indiealo.shop/tg/bot?username=video_photo_undres_2025_bot&ref_id=1182986120

Submitted January 31, 2026 at 01:40AM by Few_Formal_3408
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1qrnhuf/some_really_great_bots_that_need_your_attention/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
I was just conversing with a bot in telegram today and while scrolling up through the chat I suddenly encountered this strange toggle button like thing under one of my sent messages, please guide me about the function of that switch marked in black rectangle in the screenshot, Is it even normal ?
https://i.redd.it/i5yg0d9ningg1.png

Submitted January 31, 2026 at 10:10AM by red_uzer43
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1qrxmts/i_was_just_conversing_with_a_bot_in_telegram/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
I want telegram bots that manage auctions on my channel, is there any bot like this ?
No text found

Submitted January 31, 2026 at 12:34PM by Material_Trip_1672
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1qs02g9/i_want_telegram_bots_that_manage_auctions_on_my/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
Bots for saving videos
Are there still bots available for saving video? Be it YouTube or websites.Thanks in advance.

Submitted January 31, 2026 at 02:27PM by gunny84
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1qs2bwy/bots_for_saving_videos/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
Does anyone know how to reduce Pyrogram on_message latency?
I'm writing a script using Pyrogram to listen to real-time messages, but I'm seeing a 2-second delay on large channels. I'm even running it on a VPS in Singapore, but I still get the same delay. Does anyone know how to solve this

Submitted January 31, 2026 at 03:17PM by Mission_Ad_8187
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1qs3i2k/does_anyone_know_how_to_reduce_pyrogram_on/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
Bot to meet girls and boys for yall I ain’t making an ad on god
Heyyy i recently came upon a a telegram bot where you can find and meet girls or boys you can choose the age you can choose the language you can choose the city you can choose like basically everything.most of the girls and boys on the app like Russia and Ukrainian and some exotic countries but they all speak like English. I met like a lot of girls in it I talked with a lit of them too and I said to myself why not made it like more worldwide there’s like 16 million monthly subscribers if you want the bot link and if you have any questions, you can just ask me or like put it down here

Submitted January 31, 2026 at 07:56PM by Fun-Treat1595
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1qsav5l/bot_to_meet_girls_and_boys_for_yall_i_aint_making/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
underlined messages
hey guys does anyone know how to make a message be "repeatable"? like im in a channel where everybody sends some jokes like this for example "/I_Am_Hungry" and then if you touch the message you will automatically repeat it and then it becomes a spam of a lot of people repeating it, but i try writing the same way and i can't create one like that haha can someone help me?

Submitted January 31, 2026 at 10:31PM by handsofhedone
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1qsexkr/underlined_messages/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
Can they hack
I had my old online friend few years ago in telegram two years ago I moved to another country and changed my phone number and lost previous account so I had not my friend's number or acc id but I found our mutual fellow and asked him giving his account it, I texted him and during chatting he suddenly sent me my fist name and last name like whole my name as in passport id and my phone number and asked if it was me I said yes. But it was shocking for me because I never told him my full name and never told him my number and it was hidden in telegram so I asked him how he could now that but he didn't explain. Is there some kind of bots that can steal the data of user and share it just using username or nickname of user in telegram?

Submitted February 01, 2026 at 05:59PM by Minute-Coyote-6510
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1qt3ula/can_they_hack/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
Selling PDFs on Telegram and getting paid with stars
Hi all, some friends of mine who are creating their Telegram channel were frustrated by not being able to sell digital products (like PDFs or ePubs) without coding a bot.Anyone else dealing with this?
I'm trying to build a solution for this. I'd love your feedback: https://starstore-telegram.vercel.app/

Submitted February 02, 2026 at 02:53PM by Armadejed
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1qtvmoz/selling_pdfs_on_telegram_and_getting_paid_with/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme