Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Latest
method Context.prototype.refundStarPayment
import { Context } from "https://deno.land/x/grammy@v1.32.0/context.ts";

Context-aware alias for api.refundStarPayment. Refunds a successful payment in Telegram Stars.

Parameters

optional
signal: AbortSignal

Optional AbortSignal to cancel the request

Official reference: https://core.telegram.org/bots/api#refundstarpayment