#๐Ÿ”’ Does pyrogram work?

30 messages ยท Page 1 of 1 (latest)

true cragBOT
#

@violet prawn

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

gritty flume
#

Should we guess the code or are you going to provide it ?

#

Also, you know you can install a version of python3.14 and test it yourself

calm patio
#

What works on 3.12?

normal reef
#

Sweet

#

Share src code here.

#

let we solve together

calm patio
#

which library?

normal reef
#

You mean?

calm patio
#

yes. Share it here please, so everyone can help

normal reef
#

Very interested in this part:from pyrogram import Client

calm patio
#

what error are you getting?

#

!pip pyrogram

true cragBOT
#

Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots

Released on <t:1682879085:D>.

calm patio
#

@violet prawn that pyrogram lib is no longer maintained or supported

calm patio
#

I do a lot of reading. RTFM as what people would say.

#

!pip python-telegram-bot

true cragBOT
calm patio
#

What is a user bot?

molten mauve
#

i.e. self-bot
don't know if telegram allows for such things, i know discord sure doesn't

#

the question is if they are allowed by telegram

#

scraping also seems to be disallowed

true cragBOT
#

Full-featured Telegram client library for Python 3

Released on <t:1762370119:D>.

molten mauve
#

scraping means to mine/collect data from their platform

#

scraping is a general term, but in the context of what telegram allow or disallow in their ToS, it seems they don't allow you to take data from their platform and store/use it outside of their platform or something like that, this is not legal advice, you have to read their ToS yourself

#

what do you mean exactly?
there is so much and without context it's hard to know where to begin

#

learn and understand concepts, while you can always lookup syntax and details (even senior programmers do that all the time) using official documentation for both the core language, as well as the standard library and third party libraries
learn good tooling that will help you, like git, uv, ruff and more
learn how to implement tests, this together with git will make you able to iterating on your code without unknowingly breaking it
there is probably so much more that i just can't think of right now and is hard to know what to say to you without knowing where you are in your development

true cragBOT
#
Python help channel closed

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.