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
Hey there! I've written a framework for building inline menu-based bots on top of PTB. If this is interesting to the community, I can open a pull request to have it added to the related projects wiki page.
https://github.com/target111/vitrine
I moved this discussion to the off-topic group.
Читать полностью…
How can I connect my bot to a website I built.
Читать полностью…
have you looked at postgres_persistence? you could do something similar with your database
Читать полностью…
telegram.Update.my_chat_member ᵀᴱᴸᴱᴳᴿᴬᴹ
chatmemberbot.py
telegram.Update.effective_user
telegram.Chat.get_administrators
telegram.Chat.leave
use pastebin to share your code so we can better understand what you mean
Читать полностью…
You mean build the rich api's directly with the telegram APIs? bypassing PTB?
Читать полностью…
You can already use it with the forward api compatibility
Читать полностью…
Couldn't we first ship the rich text feature? I mean we are dying to see what we can do with it
Читать полностью…
Nowadays it's more like, hey claude teach me python in 5 minutes
Читать полностью…
Oh, hey! There's someone new joining our awesome community of Python developers ❤️ We have compiled a list of learning resources just for you:
• As Beginner
• As Programmer
• Official Tutorial
• Dive into Python
• Learn Python
• Computer Science Circles
• MIT OpenCourse
• Hitchhiker’s Guide to Python
• The @PythonRes Telegram Channel.
• Corey Schafer videos for beginners and in general
• Project Python
There are many different ways depends on the framework of the website
don't worry it's easy
that might be a better route indeed, might also reduce database overhead, thanks :)
Читать полностью…
didn't know roolsbot can reply after 3 years
Читать полностью…
uploaded it to GitHub, im asking about line65 of main.py, feels wrong for 2 reasons
* providing a BotData class whose __init__ can be called with no arguments, just to instantly overwrite its database_file(None) with the actual value
* using BotData for this seems like im abusing a feature that is not really meant for the use-case
Wiki of python-telegram-bot - Category Must read
Tutorial: Your first bot
Wiki of python-telegram-bot - Category Notable Features
Bot API Forward Compatiblity
Sorry, I meant the deserialization from JSON and so on. The reafactoring you are doing in the library.
Читать полностью…