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

add attrs accessor #247

Open
vnghia opened this issue Jun 21, 2024 · 1 comment
Open

add attrs accessor #247

vnghia opened this issue Jun 21, 2024 · 1 comment

Comments

@vnghia
Copy link

vnghia commented Jun 21, 2024

For some reasons, one might want to access the inner type language field since the high-level api grammers-client haven't caught up yet. In my case, I want to access the InputStickerSet of the Sticker struct.

I saw that we already have a unstable_raw feature so how about adding something like raw_tl function. I am willing to contribute if that makes sense.

@Lonami
Copy link
Owner

Lonami commented Jun 22, 2024

Reusing the unstable_raw feature to expose raw types is the way to go. Yes please, send a PR. Add what you need under the feature. Although we should probably return the entire raw media, not just attrs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants