Category "python-telegram-bot"

How to create unit test for a Python Telegram Bot

I've built this Telegram Bot in Python, with python-telegram-bot. It's not so complex, but I want to do some regression tests to check if everything works fine

How can I restrict a Telegram bot's use to some users only?

I'm programming a Telegram bot in python with the python-telegram-bot library for python3.x It's a bot for private use only (me and some relatives), so I would

Best practice in sending message in python telegram bot from a 3d party listener

I have a custom code that does its routine and I want to send a message to myself in Telegram if something goes wrong. In my case I use python-telegram-bot libr

Telegram bot sending error "Something went wrong, please try again" after message

Output aaaaaa Something went wrong, please try again. Code: import telegram TOKEN = "xxxxxxxxxxxxxY" bot = telegram.Bot(TOKEN) print("Bot

No module named 'telegram' error after installing python-telegram-bot

I have installed the python-telegram-bot from cmd using this: pip install python-telegram-bot and also I tried this pip install telegram but after I run a code

Python telegram bot - reply when user says specific words

Context: I am starting to learn how to code a telegram bot in python. I have successfully made a fun bot for my group with friends to use. However, i only want

Weird thing with telegram bot api, can't change title of audio

Some weird thing with telegram api. I am trying to send audio from telegram bot and by the way to change performer and title, but I can't. First of all I thoght

Python conflict with keyword "from" in telegram bot

I would like to print user information in Python script using python-telegram-bot referring to this page But when I type print update.message.from keyword .

I'm having trouble running the python-telegram-bot Library sample code

I'm trying to use the example codes from the repository's beginners guide and the ready-made examples: wiki& examples I can't run them because of some class

Installed python-telegram-bot but still showing "No module named 'telegram'"

Hi I already installed Python-telegram-bot using pip install python-telegram-bot. However, when i run my python file in VS, it shows "No module named 'telegram'

ModuleNotFoundError: No module named 'telegram' after pip install

After running pip install python-telegram-bot, I'm getting this error that the 'telegram' module is not found. Under pip list I see that my python-telegram-bot

Need download voice message from Telegram on Python

I started developing a pet project related to telegram bot. One of the points was the question, how to download a voice message from the bot? Task: Need to dow