Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_types/payment.ts

Type declarations of the Telegram Bot API.
Latest
import * as grammyTypes from "https://deno.land/x/grammy_types@v3.16.0/payment.ts";

Interfaces

This object represents a gift that can be sent by the bot.

This object represent a list of gifts.

This object contains basic information about an invoice.

This object represents a portion of the price for goods or services.

This object represents information about an order.

This object contains information about a paid media purchase.

This object contains information about an incoming pre-checkout query.

This object contains basic information about a refunded payment.

The withdrawal failed and the transaction was refunded.

The withdrawal is in progress.

The withdrawal succeeded.

This object represents a shipping address.

This object represents one shipping option.

This object contains information about an incoming shipping query.

Describes a Telegram Star transaction.

Contains a list of Telegram Star transactions.

This object contains basic information about a successful payment.

Describes a withdrawal transaction with Fragment.

Describes a transaction with an unknown source or recipient.

Describes a withdrawal transaction to the Telegram Ads platform.

Describes a transaction with payment for paid broadcasting.

Describes a transaction with a user.

Type Aliases

This object describes the state of a revenue withdrawal operation. Currently, it can be one of

This object describes the source of a transaction, or its recipient for outgoing transactions. Currently, it can be one of