đ§ edit_user_star_subscription
Allows the bot to cancel or re-enable extension of a subscription paid in Telegram Stars. Returns True on success.
âī¸ Parameters
user_id
(int
)telegram_payment_charge_id
(str
)is_canceled
(bool
)
đ˛ Returns
bool
đ Examples
-đĒĢ Required Parameters
await bot.edit_user_star_subscription(
user_id=your_user_id_here,
telegram_payment_charge_id=your_telegram_payment_charge_id_here,
is_canceled=your_is_canceled_here
)