haskell-tdlib-2.0.53.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.StarSubscriptionType

Synopsis

Documentation

data StarSubscriptionType Source #

Describes type of subscription paid in Telegram Stars

Constructors

StarSubscriptionTypeChannel

Describes a subscription to a channel chat

Fields

  • can_reuse :: Maybe Bool

    True, if the subscription is active and the user can use the method reuseStarSubscription to join the subscribed chat again

  • invite_link :: Maybe Text

    The invite link that can be used to renew the subscription if it has been expired; may be empty, if the link isn't available anymore

StarSubscriptionTypeBot

Describes a subscription in a bot or a business account

Fields