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

x/grammy_types/mod.ts>TransactionPartnerUser

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

Describes a transaction with a user.

Properties

type: "user"

Type of the transaction partner, always “user”

user: User

Information about the user

optional
invoice_payload: string

Bot-specified invoice payload

optional
paid_media: PaidMedia[]

Information about the paid media bought by the user

optional
paid_media_payload: string

Bot-specified paid media payload