class
TelegramBot::AcceptedGiftTypes
- TelegramBot::AcceptedGiftTypes
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/gift.crConstructors
- .new(unlimited_gifts : Bool, limited_gifts : Bool, unique_gifts : Bool, premium_subscription : Bool, gifts_from_channels : Bool)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #gifts_from_channels=(gifts_from_channels : Bool)
- #gifts_from_channels? : Bool
- #limited_gifts=(limited_gifts : Bool)
- #limited_gifts? : Bool
- #premium_subscription=(premium_subscription : Bool)
- #premium_subscription? : Bool
- #unique_gifts=(unique_gifts : Bool)
- #unique_gifts? : Bool
- #unlimited_gifts=(unlimited_gifts : Bool)
- #unlimited_gifts? : Bool