payments.ChangeStarsSubscription#
- class pyrogram.raw.functions.payments.ChangeStarsSubscription#
Activate or deactivate a Telegram Star subscription .
- Details:
Layer:
214ID:
C7770878
- Parameters:
peer (
InputPeer) – Always pass inputPeerSelf.subscription_id (
str) – ID of the subscription.canceled (
bool, optional) – Whether to cancel or reactivate the subscription.
- Returns:
bool