telegram-bot-api
telegram-bot-api copied to clipboard
why don`t have IsPremium func or property in User Struct?
offical api do have this property
@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