I am trying to create a bot that show a message of a group privately to the user for a limited time and get destructed.
Suppose i have a group and the group have messages. I copy the link of the message and give it to the bot and the user start the bot by /start and the bot show only the message and then wait to get destructed.
How can i create such a bot? I have used a bot like this so i am curious to make one by myself.
#π Telegram bot
26 messages Β· Page 1 of 1 (latest)
@hardy basin
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Closes after a period of inactivity, or when you send !close.
what
yes a telegram bot that do as explained.
i used one but i don't know how they code that.
can you elaborate more?
self destruct when you show the message and someone does /start
i dont think i undersstand
Have you made a very simple telegram bot before? Do you have a preference on which library?
For the self-destruct message, there's one in the python-telegram-bot lib. https://docs.python-telegram-bot.org/en/v21.1.1/telegram.messageautodeletetimerchanged.html#messageautodeletetimerchanged
i have made a telegram bot that show some weather data to the user.
using pyTelegramBotAPI
@lost meteor @undone gorge
- i copy the link of a message from a group
- i have a joining link of the bot in my website.
- someone click the link
- the bot will the show the only message related to the copied link when start or show the message directly without needing to start.
The self destructing part can be omited.
a telegram bot for spyware on groups basically
Did you look at this and see if that's something you can use? βοΈ @hardy basin
using phishing
this will auto delete the message but i want the bot to be expired or only can be visit after the link from the website.
you mean the delete the bot?
can forwarding the message will work?
yes
not possible
but the bot i used it doesnot delete the bot but it just make the bot unaccessable
then idk.
i think i can show you the bot.
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.