refundStarPayment

Refund a star payment. Bot-only.

Parameters

userId: ID

The identifier of the user that was charged.

telegramPaymentChargeId: string

The identifier of the charge.

Result

void

Syntax

await client.refundStarPayment(userId, telegramPaymentChargeId);