{ "meta": {}, "group": { "title": "Payments", "anchor": "payments" }, "object": { "anchor": "edituserstarsubscription", "name": "editUserStarSubscription", "description": "Allows the bot to cancel or re-enable extension of a subscription paid in Telegram Stars. Returns True on success.", "html_description": "

Allows the bot to cancel or re-enable extension of a subscription paid in Telegram Stars. Returns True on success.

", "rst_description": "Allows the bot to cancel or re-enable extension of a subscription paid in Telegram Stars. Returns :code:`True` on success.", "annotations": [ { "type": "Integer", "required": true, "description": "Identifier of the user whose subscription will be edited", "html_description": "Identifier of the user whose subscription will be edited", "rst_description": "Identifier of the user whose subscription will be edited\n", "name": "user_id" }, { "type": "String", "required": true, "description": "Telegram payment identifier for the subscription", "html_description": "Telegram payment identifier for the subscription", "rst_description": "Telegram payment identifier for the subscription\n", "name": "telegram_payment_charge_id" }, { "type": "Boolean", "required": true, "description": "Pass True to cancel extension of the user subscription; the subscription must be active up to the end of the current subscription period. Pass False to allow the user to re-enable a subscription that was previously canceled by the bot.", "html_description": "Pass True to cancel extension of the user subscription; the subscription must be active up to the end of the current subscription period. Pass False to allow the user to re-enable a subscription that was previously canceled by the bot.", "rst_description": "Pass :code:`True` to cancel extension of the user subscription; the subscription must be active up to the end of the current subscription period. Pass :code:`False` to allow the user to re-enable a subscription that was previously canceled by the bot.\n", "name": "is_canceled" } ], "category": "methods" } }