[docs]classSetBusinessAccountProfilePhoto(TelegramMethod[bool]):""" Changes the profile photo of a managed business account. Requires the *can_edit_profile_photo* business bot right. Returns :code:`True` on success. Source: https://core.telegram.org/bots/api#setbusinessaccountprofilephoto """__returning__=bool__api_method__="setBusinessAccountProfilePhoto"business_connection_id:str"""Unique identifier of the business connection"""photo:InputProfilePhotoUnion"""The new profile photo to set"""is_public:Optional[bool]=None"""Pass True to set the public photo, which will be visible even if the main photo is hidden by the business account's privacy settings. An account can have only one public photo."""ifTYPE_CHECKING:# DO NOT EDIT MANUALLY!!!# This section was auto-generated via `butcher`def__init__(__pydantic__self__,*,business_connection_id:str,photo:InputProfilePhotoUnion,is_public:Optional[bool]=None,**__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__(business_connection_id=business_connection_id,photo=photo,is_public=is_public,**__pydantic_kwargs,)