python-telegram-bot Questions
5
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 package is installed version 13.2
Is ...
Dossal asked 17/2, 2021 at 6:41
2
I'm using python-telegram-bot (python-telegram-bot.org) to communicate with Telegram from Python3
I would like to update the last reply I sent.
Currently, the code below sends the message and then...
Anabel asked 14/4, 2018 at 21:37
4
Solved
I'm trying to send a message in a channel with a bot, using Telegram API's send_photo() method. It takes a caption parameter (type String) but I can't format it through parse_mode='HTML' parameter....
Horton asked 12/5, 2019 at 22:33
1
Solved
I want my FastAPI app to have access to always actual bot_data of python-telegram-bot.
I need that so when i call some endpoint in FastAPI could, for example, send messages to all chats, stored som...
Slickenside asked 30/4, 2023 at 16:50
7
Solved
I am using the telepot python library, I know that you can send a message when you have someone's UserID(Which is a number).
I wanna know if it is possible to send a message to someone without havi...
Yoohoo asked 15/1, 2017 at 18:38
1
Solved
I m trying to build a telegram bot usin the telegram.ext.Application class of python-telegram-bot and I need the bot to send periodic messages to a specific user while also running its polling loop...
Haha asked 11/3, 2023 at 17:35
1
Solved
Hello StackOverFlow Community.
I am working on a telegram bot but facing the error:
(stockAlert) PS D:\Development\StockAlert> python .\stockAlertBot.py Traceback (most recent call last): File &...
Breadbasket asked 9/1, 2023 at 23:58
4
Solved
My question is:
how to join my telegram bot to a telegram public channel that I am not an administrator of it, and without asking the channel's admin to add my bot to the channel?
Maybe, the chatId...
Template asked 8/3, 2017 at 14:44
2
Solved
I have a problem about file messages in python telegram bot. How can I receive file and read that file ? Or save it.
Hophead asked 8/6, 2020 at 1:29
2
Solved
When I run this code:
from telegram.ext import *
import keys
print('Starting a bot....')
def start_commmand(update, context):
update.message.reply_text('Hello! Welcome To Store!')
if __name__...
Disruption asked 2/1, 2023 at 18:45
3
Solved
In Python-telegram-bot how to get, if possible, the complete list of all participants of the group at which the bot was added?
Para asked 2/1, 2016 at 16:16
2
Solved
I'm Making a telegram bot using Python-Telegram-bot. I wanna make it send a message to one specific user (myself in this case) to select an option. after that, it should take that option as a comma...
Descendant asked 17/12, 2020 at 23:49
2
Edit:
This question is outdated now as after python-telegram-bot v20.0 it was rewritten in an asyncio manner. Now, all callbacks should be asynchronous functions.
Original question:
I have a quest...
Pathless asked 17/2, 2022 at 11:12
3
Solved
I'm currently using python-telegram-bot and basically what I want to achieve with it is to send telegram messages like this:
So the message consists of 2+ photos/videos with text message underne...
Aulos asked 16/11, 2019 at 17:5
7
When I send a message to my Telegram Bot, it responses with no problems.
I wanna limit the access such that me and only me can send message to it.
How can I do that?
Marlomarlon asked 12/2, 2016 at 17:18
2
Solved
I'm using the python-telegram-bot library to write a bot in Python that sends URLs into a channel where the bot is administrator.
Now, I would like to have the bot reading, let's say, the last 5 me...
Mimosaceous asked 4/10, 2020 at 15:21
5
Solved
i want to write a telegram bot that save photos .
this is my code , but its not working.
and i don't know what is my problem?
def image_handler(bot, update):
file = bot.getFile(update.message.ph...
Bucksaw asked 17/5, 2018 at 9:50
3
Solved
I'm dealing with a small project, I decided to add emoji to make the visual a little better, but I couldn't send it. I tried Unicodes like "\U000203C" or even tried to copy the emoji and ...
Halfpenny asked 20/10, 2020 at 19:36
2
Solved
I have a telegram bot that messages on a group. I want the telegram bot to change its “name” from time to time - just like a user can. Is this possible? This means that when I see a message from th...
Chantalchantalle asked 12/12, 2019 at 6:51
5
So, I need my bot to forward a message of a chat. But in order to do so, I need to get the id of the message I want to forward (it's an old message). How can I get the id of that message so I can s...
Chiao asked 31/10, 2015 at 13:48
2
Solved
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 download a audiofile from telegram bot a...
Holley asked 4/6, 2020 at 2:27
3
Solved
I am trying to send a colored text message to a user as reply, using sendMessage with HTML parsing.
bot.sendMessage(update.message.chat_id, "<span style=\"color:blue\">foo</span>", tel...
Devalue asked 7/5, 2016 at 19:38
2
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 I made a mistake, but not! I tried t...
Colcothar asked 29/7, 2017 at 0:45
3
I'm using the python-telegram-bot library.
I want to track a user's Live Location, but I don't know how to do it.
I try to use Job Queue:
def notification(bot, job):
updates = bot.get_updates()
...
Fontanel asked 13/1, 2018 at 9:10
1
Solved
I have a telegram bot which publishes messages to somebot using this code.
import telegram
from telegram import ParseMode
def send_msg(text):
token = '1*****:AAF*************esns'
chat_id =...
Picrite asked 26/2, 2022 at 9:59
© 2022 - 2025 — McMap. All rights reserved.