Questions tagged [python-telegram-bot]

This is a Python library that wraps around the Telegram Bot API. Note that this is not a general tag for "Telegram bots written with Python", but only for question about this particular library.

This is a library that wraps around the bot HTTP API. It is compatible with only (please check the PyPi/GitHub page for detailed info).

Telegram Bot API

The Telegram Bot API is an HTTP-based interface created for developers keen on building bots for Telegram.

1454 questions
-3
votes
1 answer

How to find all messages I ever written in public groups?

I used to post in a lot of public groups. I would like to delete all those posts now (don't want to delete account), however I don't exactly remember all the groups. How could I pull out all the posts associated with my account?
-3
votes
1 answer

How to take user message and use it as command

I use Python 3 and python-telegram-bot . The user send a message like this "When i say ... say ...." example : "When i say Hi say Hello " i can take "Hi and Hello" from the message My problem is how to set Hi in bot to when user say hi my bot say…
ex3p
  • 13
  • 2
-3
votes
1 answer

Do not change the path with subprocess

Ι need to change the paths using subprocess but it doesn't work I am using py3.6 - python-telegrambot it's my code def sh(bot,update): ID = 289444284 command=update.message.text print(command) su = subprocess.getstatusoutput(command) …
SasaN AndeH
  • 23
  • 1
  • 5
-3
votes
2 answers

Getting one message using the telegram python API?

I want to create a telegram bot that, after seeing the command /define, asks for the word. I want to extract the word sent by the user after the bot asks for it. How do I do it? import telegram from telegram.ext import Updater from telegram.ext…
Sharad Bhat
  • 47
  • 2
  • 9
-3
votes
1 answer

How to have a conversation with a bot?

I want to send a python telegram bot a specific command that causes the bot to respond with a request for more information and listen for another message containing that extra information. For instance: I send /add the bot responds: ok, tell me…
-3
votes
1 answer

Create a RETURN botton for bot

I'm new to Python-Telegram-Bot I want to create a bot with return bottom and it means whenever user click the return bottom the bot shows the previous menu to user Thanks
-4
votes
2 answers

Export Competitor’s Members - Telegram - Opensource

Is there any Telegram Bot to Export your competitor’s group/channel members and add to your own group/channel. Excellent way to grow your telegram group.
1 2 3
96
97