Payments

Payments

Functions

Types

TypePaymentForm

TypePaymentReceipt

TypeValidatedRequestedInfo

Validated requested info

TypePaymentResult

TypeSavedInfo

Saved payment info

TypeBankCardData

Credit card info, provided by the card’s bank(s)

TypeExportedInvoice

TypeCheckedGiftCode

Info about a telegram premium giftcode.

TypeGiveawayInfo

Info about a telegram premium giveaway.

TypeStarsStatus

Info about the current telegram star subscriptions, balance and transaction history.

TypeStarsRevenueStats

Star revenue statistics, see here for more info.

TypeStarsRevenueWithdrawalUrl

Contains the url to use to withdraw telegram star revenue.

TypeStarsRevenueAdsAccountUrl

Contains a url leading to a page where the user will be able to place ads for the channel/bot, paying using telegram stars.

TypeStarGifts

TypeConnectedStarRefBots

TypeSuggestedStarRefBots

A list of suggested mini apps with available affiliate programs

TypeStarGiftUpgradePreview

TypeUniqueStarGift

TypeSavedStarGifts

TypeStarGiftWithdrawalUrl