method ApiMethods.setBusinessAccountProfilePhoto
ApiMethods.setBusinessAccountProfilePhoto(args: { business_connection_id: string; photo: InputProfilePhoto<F>; is_public?: boolean; }): true

Changes the profile photo of a managed business account. Requires the can_edit_profile_photo business bot right. Returns True on success.

Parameters

args: { business_connection_id: string; photo: InputProfilePhoto<F>; is_public?: boolean; }

Return Type

true

Usage

import { type ApiMethods } from "types";