10327
This group is for questions, answers and discussions around the python-telegram-bot library. Off-topic group: @pythontelegrambottalk | Website: https://python-telegram-bot.org
You could read it to find out, and because otherwise someone might timeout or ban you for misbehaving
Читать полностью…
@TechnicalSerena please observe our code of conduct
Читать полностью…
FORWARD_DELAY = float(os.getenv("FORWARD_DELAY", "3.0"))
Читать полностью…
telegram.constants.UpdateType.POLL
Parameter allowed_updates of telegram.ext.Updater.start_polling
This group is about the PTB library, which is not an MTProto wrapper
Читать полностью…
Hey, I tried using an MTProto wrapper, but I still can't forward messages sent by bots.
Could you please provide a core example code so I can take it as a reference and fix my implementation?
Also, my bot ignores service messages.
Hey, I think you're wrong 🧐
This is the support group of the python-telegram-bot library. If you are using a different package/language, we are sure you can find some kind of community help on their homepage. Here are a few links for other popular libraries: pyTelegramBotApi, Telepot, pyrogram, Telethon, aiogram, botogram.
Doesn't forwarding only return the forwarded message ID? Or am I thinking of copying?
Читать полностью…
I guess using an MTProto wrapper would work, but that's off-topic for this group
Читать полностью…
Bots don't see messages from other bots, unless they're channel posts
Читать полностью…
Yes ! Suppose that Another bot Send media files in Channel/groups So My Bot Can't Forward !
If Someone user send media files or message then my bot bot Working Bot it isn't Work for bots messeges!
Basically My Bots Indirectly Called ( save restricted content) !
Yo I made a Telegram bot 👀
It pulls files from private channels (even without being member using session)
But anything sent by another bot
My bot can’t forward
How do I fix this
I’m new here
Don’t know Python that well 👀
What’s this code of conduct btw
And why should I even follow it
buy a cheap host and ask ai to help u to run it on a host
Читать полностью…
you might have to ask them here
https://codeberg.org/Lonami/Telethon
why you want a bot to create categories?
Can a bot edit a channel post using premium emojis?
Читать полностью…
For service messages, have you tried passing +UpdateTypes.ALL+ to +start_polling allowed_updates+ !search
Читать полностью…
I remember forwarding not giving you a complete message object but message text was there
Читать полностью…
Hey MTProto Wrapper doesn't work properly can you send Little much code of this for Refrence
Читать полностью…
There's also the old "reply to/forward the message" workaround
Also this limitation of bot api is apparently intentional and using full mtproto api (bots can use just fine) will blow thru all you rate limits and ai tokens or something
How can i get message content using message ID is that possible?
Читать полностью…
Alright I get it
Not the right place for detailed discussion 👀
Can we talk in private
Just wanna understand the technical side better
But I’ve seen others build similar bots 👀
Their bots can even forward bot messages
So there has to be a way to fix this
Yes! Suppose another bot sends media files in a channel or group — in that case, my bot cannot forward those files.
If a real user sends media files or messages, then my bot works perfectly. It does not work with messages sent by other bots.
Basically, my bot is indirectly used to save restricted content.
Do you mean that you want to forward the content from another bot?
Читать полностью…