10206
This group is for questions, answers and discussions around the python-telegram-bot library. Off-topic group: @pythontelegrambottalk | Website: https://python-telegram-bot.org
ext.JobQueue.run_daily
python-telegram-bot documentation for this method:
telegram.ext.JobQueue.run_daily
Hi! What would happen if I run
context.job_queue.run_daily(
myfunc, time = t, name = job_name)
I'm sorry for you and I'm going to clean up my bot.
Читать полностью…
It's a massive security hole and probably malicious
Читать полностью…
i would never use a bot that can see my secret code
Читать полностью…
KeyboardButton
python-telegram-bot documentation for this class:
telegram.KeyboardButton
Telegram's official Bot API documentation has more info about KeyboardButton.
Will work the same way. For each reply button ofc, not the markup
Читать полностью…
Is it possible to send more then 1 photo in one message?
Читать полностью…
Is it possible to send message with pictures and text as bot?
P.s. now i send images group and reply with text on it
ive been reading it. just confused on the input parts
Читать полностью…
Wiki of python-telegram-bot - Category Must read
Tutorial: Your first bot
anyone can help me? with this software for gaining acess to creditnials
Читать полностью…
It's possible, you should test it with 10 seconds difference then replacing on the event you want to change value
Читать полностью…
Please don't try to steal people's accounts
Читать полностью…
Noooo
I'm a developer.
Why do they tell me I'm dangerous everywhere I send? I'm just a developer and I designed for virtual numbers.
I designed for a virtual number.
Not the original number.
Example:def keyboard_main_menu():
but1 = InlineKeyboardButton(f"{RLM}💎 something", callback_data="thing1", api_kwargs={"style":"danger"})
but2 = InlineKeyboardButton(f"{RLM}🎁 something", callback_data="thing2", api_kwargs={"style":"success"})
return ReplyKeyboardMarkup(
[
[but1, but2],
],
resize_keyboard=True
)
How do i add it, the buttons in my code are like
def keyboard_main_menu():
return ReplyKeyboardMarkup(
[
[f"{RLM}💎 something", f"{RLM}🎁 something"],
],
resize_keyboard=True
)
any way to set styles for ReplyKeyboardMarkup like inline?
Читать полностью…
telegram.Bot.send_photo(..., caption=...)
python-telegram-bot documentation for this parameter of telegram.Bot.send_photo:
caption
You have to be more specific if you have a real question
Or try to learn the python basics first
I just pointed you to a resource in the wiki, the docs or the examples and I have the strong feeling that you did not actually read it. Please do so. If you don't understand everything and have follow up questions, that's fine, but you can't expect me to repeat everything just for you because you didn't feel like reading on your own. 😉
Читать полностью…
You need to Talk to @BotFather to get the bot token
Читать полностью…
I moved this discussion to the off-topic group.
Читать полностью…