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

client: get by id helpers #217

Open
tdakkota opened this issue Mar 18, 2021 · 2 comments
Open

client: get by id helpers #217

tdakkota opened this issue Mar 18, 2021 · 2 comments
Labels
area: client telegram package issues enhancement New feature or request

Comments

@tdakkota
Copy link
Member

Telegram API has some methods like channels.getMessages or users.getUsers which is designed to request object by ID, unlike pagination methods.

It would be nice to add helpers for this methods, also see ETag-like caching. Hash algorithm implemented in https://pkg.go.dev/github.com/gotd/td/telegram/query#Hasher.

@tdakkota tdakkota added enhancement New feature or request area: client telegram package issues labels Mar 18, 2021
@spacemolly
Copy link

This would be incredibly useful, one of the trickiest part of making a functional telegram app. If it's too much work, maybe just an example of how to to it correctly?

@stale
Copy link

stale bot commented Apr 30, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 30, 2022
@ernado ernado removed the stale label Apr 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: client telegram package issues enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants