edit_user_star_subscription()¶
- Client.edit_user_star_subscription()¶
Cancels or re-enables Telegram Star subscription for a user.
Usable by Users Bots- Parameters:
user_id (
int|str) – Unique identifier (int) or username (str) of the target user.telegram_payment_charge_id (
str) – Telegram payment identifier of the subscription.is_canceled (
bool) – Pass True to cancel the subscription. Pass False to allow the user to enable it.
- Returns:
bool– On success, True is returned.