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
Who can make me a bot for free? Preferably just a simple one or just send me the code. I don’t need anything complicated, just a basic working bot.
Читать полностью…
Hey give me some bot ideas 👀 what kinda Telegram bot should I build next 😭 I already made unzip, multi-forward, SRC, reaction, downloader n PDF edit bots so now idk what to create next
Читать полностью…
It's kind of hard to search through logs of different users.. mess..
Читать полностью…
Depends on how many users you think youl have. In general Id say no
Читать полностью…
KeyboardButtonRequestChat
python-telegram-bot documentation for this class:
telegram.KeyboardButtonRequestChat
Telegram's official Bot API documentation has more info about KeyboardButtonRequestChat.
The API keyword will be (should be?) present in any bot API library, but you're in the PTB group, so you were linked PTB docs
Читать полностью…
telegram.InlineKeyboardButton(..., copy_text=...)
python-telegram-bot documentation for this parameter of telegram.InlineKeyboardButton:
copy_text
But I can't see Inline button workflow..
Can I run into Pydroid 3 for test ?
Can someone explain this 👀 I can already add buttons in my bot but how do I add logic so tapping the button copies text directly 😭 anyone knows?
Читать полностью…
I moved this discussion to the off-topic group.
Читать полностью…
Especially when on developing stage or while debugging
Читать полностью…
There is really no advantage, and you need to open and close files all the time for writing
Читать полностью…
Is it good idea to have different log file per user? This question is more about architecture ., but still
Читать полностью…
Hey don’t think I’m dumb 😭 but even after all this time I still can’t figure out which library this group is mainly about 👀 is it PTB maybe? Someone explain pls
Читать полностью…
def button(update: Update, context: CallbackContext) -> None:Читать полностью…
query = update.callback_query
query.answer()
if query.data == 'copy_text':
text_to_copy = "This is the text you can copy!"
query.edit_message_text(text=f"Copied: {text_to_copy}")
Oh u want a button to copy the text instead of click to copy?
Читать полностью…
Like imagine this scenario 👀 there’s an inline button saying “Your ID” and when you tap it, the ID gets copied directly 😭 kinda like those ID/info bots… how do people make that logic?
Читать полностью…
Will it work in webassembly? Has anyone tried?
Читать полностью…