Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 Roadmap #4482

Open
3 tasks
Jahongir-Qurbonov opened this issue Oct 8, 2024 · 3 comments
Open
3 tasks

V2 Roadmap #4482

Jahongir-Qurbonov opened this issue Oct 8, 2024 · 3 comments
Labels
enhancement Nice to have things that are not a bug

Comments

@Jahongir-Qurbonov
Copy link
Contributor

Jahongir-Qurbonov commented Oct 8, 2024

Describe your suggested feature

V2 is great and the community is waiting for its stable version. We are willing to contribute if there is work to be done for a stable version.

Todos:

  • Add QR code authorization
  • Networking needs to be reconsidered
  • Message entity parsing should be improved
@Jahongir-Qurbonov Jahongir-Qurbonov added the enhancement Nice to have things that are not a bug label Oct 8, 2024
@Lonami
Copy link
Member

Lonami commented Oct 8, 2024

My plan for v2 was primarily to redesign the core of the library based on what I had learnt from making grammers, and use proper types.

As for the high-level API, my plan was to take what was most used from v1, and remove anything that didn't pull its own weight. This includes conversations and all ugly hacks used by custom types.

Honestly, v2 is probably not missing that much, but I'm sure it's also nowhere as stable as v1, network-wise. Another pain point is Markdown. CommonMark just doesn't cut it, as Telegram has many more formatting entities. This affects big part of the library and we need a better solution. We might just need to copy what the HTTP Bot API is doing for formatting.

@Jahongir-Qurbonov
Copy link
Contributor Author

When can you review the network-wise? Better to copy Markdown from HTTP bot api in my opinion

@Lonami
Copy link
Member

Lonami commented Oct 9, 2024

When can you review the network-wise?

Not sure. Telethon v1's network stack matured this much over time, and I suspect something similar will happen with v2.

Better to copy Markdown from HTTP bot api in my opinion

I'm hesitant. People might expect compatibility, which I'd rather not promise to maintain.

But, it's probably the best bet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Nice to have things that are not a bug
Projects
None yet
Development

No branches or pull requests

2 participants