removeBusinessAccountProfilePhoto¶
Returns: bool
- class litegram.methods.remove_business_account_profile_photo.RemoveBusinessAccountProfilePhoto(*, business_connection_id: str, is_public: bool | None = None, **extra_data: Any)[source]¶
Removes the current profile photo of a managed business account. Requires the can_edit_profile_photo business bot right. Returns
Trueon success.Source: https://core.telegram.org/bots/api#removebusinessaccountprofilephoto
Usage¶
As bot method¶
result: bool = await bot.remove_business_account_profile_photo(...)
Method as object¶
Imports:
from litegram.methods.remove_business_account_profile_photo import RemoveBusinessAccountProfilePhotoalias:
from litegram.methods import RemoveBusinessAccountProfilePhoto
With specific bot¶
result: bool = await bot(RemoveBusinessAccountProfilePhoto(...))
As reply into Webhook in handler¶
return RemoveBusinessAccountProfilePhoto(...)