pythontelegrambotgroup | Unsorted

Telegram-канал pythontelegrambotgroup - >>> telegram.Bot()

7508

This group is for questions, answers and discussions around the python-telegram-bot library. Off-topic group: @pythontelegrambottalk | Website: https://python-telegram-bot.org

Subscribe to a channel

>>> telegram.Bot()

Hey. You seem to be using a version >=20.0 of python-telegram-bot but your code is written for version <=13.15. Please either upgrade your code to v20 by reading the release notes and the transition guide linked below or install a version of PTB that is compatible with your code base.
Please note that we only provide support for the latest stable version and that the library has undergone significant changes in v20.

Читать полностью…

>>> telegram.Bot()

Hello guys, i need to make a payment bot and i need to receive webhooks for the payment. I'm thinking from switching from telegram servers to local servers for the both and integrate the bot with flask to be able to create the webhook. How would that ideally work. Or should i just have the flask script only create a webhook and listen for a receive and initiate the bot to process the payment which seems more like the ideal way i can go about this

Читать полностью…

>>> telegram.Bot()

if you have seen "them", what part is not clear to you where the code waits for an user input

Читать полностью…

>>> telegram.Bot()

Wiki of python-telegram-bot - Category Concepts & Important Elements
Working with Files and Media

Читать полностью…

>>> telegram.Bot()

anyone able to help me with this issue ?

Читать полностью…

>>> telegram.Bot()

Python is a programming language and here we have a Good library for make a telegram bot.

First learn python.

Читать полностью…

>>> telegram.Bot()

Are you a Python developer?

Читать полностью…

>>> telegram.Bot()

😐

Читать полностью…

>>> telegram.Bot()

i didn't invent the "queued" conception, it's designed by PTB: there is update queue in Bot object

Читать полностью…

>>> telegram.Bot()

Hi guys, just a question. I've a bot that registers the user when he joins in the group. So, suppose I've a group with 100 members and then I add my bot. How can I register these 100 users? Maybe can I mute them and to un-mute they need to click a button that invoke the registration?

Читать полностью…

>>> telegram.Bot()

WHERE warn_settings.chat_id = %(param_1)s]
2020-12-29T14:27:47.078384+00:00 app[worker.1]: [parameters: {'param_1': '-1001432019207'}]
2020-12-29T14:27:47.078384+00:00 app[worker.1]: (Background on this error at: http://sqlalche.me/e/13/f405)

any fix ?

Читать полностью…

>>> telegram.Bot()

you are just trolling me
you just answerd me twice with a "sure" and a "no", of course you know what "update" is
i mean the Update objects
you said "sure" they can be pickled by persistence, but then "no" not the queued updates
so i'm confused

Читать полностью…

>>> telegram.Bot()

then really don't know what updates you mean

Читать полностью…

>>> telegram.Bot()

you mean all queued updates?

Читать полностью…

>>> telegram.Bot()

yes, thats the idea behind it

Читать полностью…

>>> telegram.Bot()

when i use dowenload_to_memory i get :
file_down.download_to_memory("image p")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'File' object has no attribute 'download_to_memory'
"

when i use dowenload_to_drive i get :
file_down.download_to_drive("image ph")
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'File' object has no attribute 'download_to_drive'
"

Читать полностью…

>>> telegram.Bot()

after adding

update.message.from_user


the code simply skips to next line without waiting

Читать полностью…

>>> telegram.Bot()

yes I've seen them, but I'm unable to find out how to make the bot wait for input using async mode, can you you please check the code i added?

Читать полностью…

>>> telegram.Bot()

Examples directory of python-telegram-bot:
conversationbot.py

Читать полностью…

>>> telegram.Bot()

how i can save photo received from user in folder from telegram bot
i found get_fille() but i dont know how i can use it

Читать полностью…

>>> telegram.Bot()

so its just a package ?

Читать полностью…

>>> telegram.Bot()

There is tons of ready to deploy examples in the repo sir

Читать полностью…

>>> telegram.Bot()

how we can make bot using this repo

please help

Читать полностью…

>>> telegram.Bot()

Or pin a message with a button, asking everyone to click it to register their presence

Читать полностью…

>>> telegram.Bot()

I moved this discussion to the off-topic Group.

Читать полностью…

>>> telegram.Bot()

you can make a conversation handler persistent and save what ever result comes up during the conv in user_data or chat_data etc. and that gets pickled. also: you can specify what data you want to persist. if that helps...

Читать полностью…

>>> telegram.Bot()

we are in an session are we? i just don't know what updates can the persistence help to save, so i asked

Читать полностью…

>>> telegram.Bot()

what's a supergroup actually ? 😅 just a "normal" group that has groups like discussions endowed or what ?

Читать полностью…

>>> telegram.Bot()

I don't know if this is PTB related: does telegram has the option to migrate a normal group to a supergroup? At group members will?

Читать полностью…

>>> telegram.Bot()

Another question: from the docs

migrate

Messages that contain telegram.Message.migrate_from_chat_id or :attr: telegram.Message.migrate_from_chat_id


. If a message satisfies the filter Filter.status_update.migrate does it also mean that :attr: telegram.Message.migrate_to_chat_id is also available??

Читать полностью…
Subscribe to a channel