[docs]classBotSubscriptionUpdated(TelegramObject):""" This object contains information about changes to a user payment subscription toward the current bot. Source: https://core.telegram.org/bots/api#botsubscriptionupdated """user:User"""User who subscribed for payments toward the bot"""invoice_payload:str"""Bot-specified invoice payload"""state:str"""The new state of the subscription. Currently, it can be one of 'canceled' if the user canceled the subscription, 'active' if the user re-enabled a previously canceled subscription, or 'failed' if payment for the subscription failed"""ifTYPE_CHECKING:# DO NOT EDIT MANUALLY!!!# This section was auto-generated via `butcher`def__init__(__pydantic__self__,*,user:User,invoice_payload:str,state:str,**__pydantic_kwargs:Any,)->None:# DO NOT EDIT MANUALLY!!!# This method was auto-generated via `butcher`# Is needed only for type checking and IDE support without any additional pluginssuper().__init__(user=user,invoice_payload=invoice_payload,state=state,**__pydantic_kwargs)