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

why don`t have IsPremium func or property in User Struct? #666

Open
selfmakeit opened this issue Jul 12, 2023 · 1 comment
Open

why don`t have IsPremium func or property in User Struct? #666

selfmakeit opened this issue Jul 12, 2023 · 1 comment

Comments

@selfmakeit
Copy link

offical api do have this property

@gurza
Copy link

gurza commented Jul 23, 2023

@selfmakeit unfortunately, the author has not published any new version releases for a year. However, the project does get updated, albeit infrequently. As a temporary solution, I can suggest installing a newer version of the package, which includes support for determining the presence of a premium subscription. It was implemented in #560

go get github.com/go-telegram-bot-api/telegram-bot-api/v5@99503a71186fd705a373057423621da02db2703e

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