Telegram Bots

40 readers
0 users here now

founded 2 years ago
MODERATORS
51
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/Positive_Detective72 on 2023-07-03 09:56:59+00:00.


There is a bot on telegram it can generate ai photo if you will upload your pictures so i have a question What we upload on that bot is it stored our data on their server? And what is neural network?

52
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/Piglet_Traditional on 2023-07-03 00:03:15+00:00.

53
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/abwithbc on 2023-07-02 04:09:19+00:00.


Hi, so i recently came across a bot that used to send any book's pdf to the group if someone had searched the book. It worked fine for sometime but it's dead now. I need the same bot for my study group. If someone knows about such bots, do let me know.

Thanks

54
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/befogfang on 2023-06-29 15:54:22+00:00.


Earning via generating N*des from AI bots,

I got to know about that on 15th may 2023 , its is trending.

AI bots were Used is Appropriate to tell here. Many teenagers and scammers targeted innocent girls and middle aged women as a Target .

Blackmailers starts blackmailing and demanding money in return they don't put pictures online or send to any of their relatives. That's how it was going.

One of my Friends, End up with the solution , And gather plenty of member in the telegram group. For the shake of Society They banned 47+ telegram bots ,which can turn a normal pic in intimating pic or N*de.

Telegram group : https://t.me/BOTBANNER

Join and help them in this initiative .

55
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/weavisel on 2023-06-28 01:28:10+00:00.


I found out about a bot that organizes files you send to it (@filetobot) and it recommends using the app. Does anyone know if it's actually safe?

56
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/Riwil on 2023-06-27 17:19:00+00:00.


Hello guys, I need help.

I need a code for a Python bot that does the following:

It should check within a Telegram group if there are 2 or more messages that contain a line saying (Original problem ID: x), where X will vary and will be an integer, not a fixed value.

If it detects that there is more than 1 message with that content and the same X value, it should delete the messages with the same number.

The bot should run approximately once every hour.

The bot is executed in Python 3 on Ubuntu.

I have this code already, but it doesn't work and gives me an error on line 52.

import time
from telegram import Bot, Update
from telegram.ext import Updater, CommandHandler

# Bot token
TOKEN = 'YOUR_TOKEN'

# Group ID
GROUP_ID = 'Group_ID'

# Dictionary to store messages with the same ID
messages = {}

# Function to handle the /start command
def start(update: Update, context) -> None:
    context.bot.send_message(
        chat_id=update.effective_chat.id,
        text='Hello! I am the duplicate message removal bot.'
    )

# Function to check and remove duplicate messages
def check_duplicates(context) -> None:
    global messages

    # Get messages from the group
    updates = context.bot.get_chat(GROUP_ID).get('updates')

    # Reset the messages dictionary on each execution
    messages = {}

    # Iterate over the messages
    for update in updates:
        message = update.get('message')
        text = message.get('text')

        # Check if the message contains the line "Original problem ID: x"
        if text and 'Original problem ID:' in text:
            # Extract the ID number
            id_number = int(text.split(':')[-1].strip())

            # Check if there are already messages with the same ID
            if id_number in messages:
                # If there are more than one message with the same ID, remove them
                if messages[id_number] != message['message_id']:
                    context.bot.delete_message(chat_id=GROUP_ID, message_id=message['message_id'])
            else:
                # Store the message ID
                messages[id_number] = message['message_id']

# Create the bot
bot = Bot(token=TOKEN)
updater = Updater(bot=bot)

# Add the handler for the /start command
updater.dispatcher.add_handler(CommandHandler('start', start))

# Get the update queue from the updater
update_queue = updater.update_queue

# Schedule the execution of the duplicate check every hour
updater.job_queue.run_repeating(check_duplicates, interval=3600, first=0)

# Start the bot
updater.start_polling()

# Keep the bot running until manually stopped
updater.idle()

If someone knows what I'm doing wrong, please let me know. Thank you.

57
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/sharag123 on 2023-06-27 14:41:48+00:00.


Sorry for my bad English and thanks in advance!

As mentioned in the title , is there any bot which can auto "mark as read" message of certain groups that I find unimportant and instead of manually clicking on mark as read, the bot does the work? .

what i mean to say is once i put these groups in that bot, it should auto read them i need not manually click on mark as read

58
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/the_aceix on 2023-06-26 20:32:19+00:00.


For a few days now I've not been getting timely notifications from the Gmail bot. Is it down? Are there any service degradation?

59
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/User_098H5 on 2023-06-26 11:14:33+00:00.


Hello Fellas. I am a beginner. Inam trying to build a telegram bot that can send messages in a channel. I have made the bot and am trying to send the message using a python program, but am getting an error no matter the changes I make to my code. I am typing the code below, please help me if anyone can-

Import telegram Import asyncio

bot = telegram.bot(token='xxxxxxxxxxxxxxx') group_id= '$$$$$$'

async def send_message(message): await bot.send_message(chat_id= group_id,

text=message)

message_to_send= 'hello group members'

loop= asyncio.new_event_loop(loop)

loop.run_until_complete(send_message_to_group(message_to_send)

The error I am getting is- RuntimeError- Cannot run the event loop while another loop is running.

I have a little knowledge of api and am a beginner in programming. I have no experience with telegram bots but want to experiement with it as I have some plans in mind.

My main purpose is broadcasting information, My python program will do some calculations and the result will be broadcasted in the group by this bot.

I gave the context so that in case you gyus have any advise ,suggestions, resources or anything for me I'll very much appretiate it.

Please let me know how I can fox this code and whats wrong with this one.

60
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/BoldBully on 2023-06-25 21:13:08+00:00.


Let's you talk to one of over 100 different models, characters or virtual people. From shakespear over chatgpt uncensored to princess twilight.

3 free tokens for joining

https://t.me/YourBestFriendAIBot

61
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/Fluezyx on 2023-06-25 10:31:30+00:00.


Quick question does anyone know of an alternative to browserling sandbox?

62
1
Hi... (lemmit.online)
submitted 2 years ago by [email protected] to c/[email protected]
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/Interesting-Bag6199 on 2023-06-24 23:51:15+00:00.

Original Title: Hi

63
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/Longjumping_Kiwi3984 on 2023-06-24 22:01:35+00:00.

64
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/chernikovalexey on 2023-06-24 16:18:23+00:00.


This smarty uses world's best speech recognition software to transcribe any voice note coming its way to text and send back. It understands talking and mumbling in English, Spanish, German, Italian, Chinese, & 52 other languages.

Try it here.

Note on privacy: neither voice notes nor transcriptions are stored. They're gone from bot's memory as soon as you receive the text back.

65
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/Jisan_Rienhart on 2023-06-23 17:34:25+00:00.


I want to allow links from some specific domains in my group chat. So, is there any bot that will automatically remove other group or channel links & unwanted domain links?

66
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/ChewableMonomania on 2023-06-23 09:59:49+00:00.


๐Ÿ‘‹,

I am developing an app running in the browser which lets you find all your messages in groups chats (public & private), review them (filters like "has photo?" / "has video?" / etc. + search by keyword) and delete the selected item in one click.

I was inspired by similar apps for Twitter (TweetDeleter / TweetEraser). There are three steps:

  • You'd need to sign in with your TG account

  • Download messages

  • Select those you'd like to delete and then delete

Here is the short screencast how it works: https://www.youtube.com/watch?v=mNgHlLCwszY

I am curious if you guys can share your view what features it needs to have?

Thanks!

67
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/roandter on 2023-06-23 09:13:03+00:00.

68
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/Liljdb0524 on 2023-06-21 22:25:10+00:00.


I require PFPs in one of my groups and it gets annoying to check new members and see if they have a PFP. I already have Rose Modding when I'm not around but I'm wondering if there's a way to have her check and mute those with no PFP.

69
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/Mental-Effective-110 on 2023-06-21 13:13:58+00:00.


{'message_id': 376, 'from': {'id': 1087968824, 'is_bot': True, 'first_name': 'Group', 'username': 'GroupAnonymousBot'}, 'sender_chat': {'id': -1001701603213, 'title': 'test_group', 'type': 'supergroup'}, 'chat': {'id': -1001701603213, 'title': 'test_group', 'type': 'supergroup'}, 'date': 1687420861, 'text': 'fdfd'}

is what I get when I (admin of the supergroup) send a message to the group

70
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/AlexGerasim on 2023-06-21 08:34:52+00:00.


I had been attending therapy for a few months and found it really helpful. However, when my therapist had to reschedule our session for the second time (I don't blame her), I decided to create a substitute to tide me over until our next session. As an active Python learner and ChatGPT user, I built a Telegram bot for this purpose.

After several iterations of adjusting prompts and about 100 deployments with bug fixes and feature improvements, I tested the bot with some friends and myself and found it useful.

It provides more actionable advice, and I feel comfortable sharing any concerns with it. Plus, I can use it on the go. Those are features I missed when working with a human therapist.

For those who have Telegram installed, I'm happy to share it. Any feedback is welcome.

https://t.me/therapy_ai_bot

71
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/DivCult on 2023-06-21 06:39:40+00:00.


Are there any bots that can hide the name of sender for tele channels (not forward msg).

72
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/fuxgl on 2023-06-20 21:05:21+00:00.


Hey! Telegram is saying that due to Apples limitations it is currently not allowed to accept payments for digital goods from iOS users. I'm wondering if anyone here found workaround that can actually be used to receive payments from iOS users in exchange for some bot features?

73
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/mouaad-dev on 2023-06-20 03:03:02+00:00.


Hello everyone i want to ask a question, so i see there is a lot of telegram channel or bot that give some free account of Netflix or Crunchyroll ... , My question is how this telegram work, thay hack this account and after that they share it or there is another whey i just want to understand the concept i don't want to hacking ๐Ÿ˜….

74
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by [deleted] on 2017-02-03 16:12:47+00:00.


At some point, I thought it may be good to have a single point to collect useful information about telegram bots. I started by adding some API wrappers, but other things are possible, like developer tutorials or hosting options.

Let us know what you think should be added and I will intermittently add your suggestions to the wiki.

Let's make this wiki page a good and comprehensive resource.

Wiki: https://www.reddit.com/r/TelegramBots/wiki/index

75
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/telegrambots by /u/starg09 on 2015-06-24 23:47:19+00:00.


~~Well, I think this is a good way to start this subreddit :)~~


~~#The Table has been moved to a Spreadsheet so it can be updated more easily. You can acccess it Clicking this link.~~

~~(Last Update: 04/07/2015 19:40)~~


Edit: this has been dead for quite some time, might as well remove the link...

view more: โ€น prev next โ€บ