haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.ChatInviteLinkSubscriptionInfo

Documentation

data ChatInviteLinkSubscriptionInfo Source #

Constructors

ChatInviteLinkSubscriptionInfo

Contains information about subscription plan that must be paid by the user to use a chat invite link

Fields

  • pricing :: Maybe StarSubscriptionPricing

    Information about subscription plan that must be paid by the user to use the link

  • can_reuse :: Maybe Bool

    True, if the user has already paid for the subscription and can use joinChatByInviteLink to join the subscribed chat again

  • form_id :: Maybe Int

    Identifier of the payment form to use for subscription payment; 0 if the subscription can't be paid