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

x/grammy_types/payment.ts>TransactionPartner

Type declarations of the Telegram Bot API.
Latest
type alias TransactionPartner
import { type TransactionPartner } from "https://deno.land/x/grammy_types@v3.15.0/payment.ts";

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

  • TransactionPartnerUser
  • TransactionPartnerFragment
  • TransactionPartnerTelegramAds
  • TransactionPartnerTelegramApi
  • TransactionPartnerOther