Skip to content

removeBusinessAccountProfilePhoto

Returns boolean

Removes the current profile photo of a managed business account. Requires the can_edit_profile_photo business bot right.

Required: business_connection_id · Optional: 1 parameters

Try it
Token saved
Response

TypeScript example · @effect-ak/tg-bot-client
import { makeTgBotClient } from "@effect-ak/tg-bot-client"
const client = makeTgBotClient({ bot_token: "YOUR_BOT_TOKEN" })
const result = await client.execute("remove_business_account_profile_photo", {
business_connection_id: "..."
})

Parameters

business_connection_id string Required
Unique identifier of the business connection.

is_public boolean
Pass True to remove the public photo, which is visible even if the main photo is hidden by the business account’s privacy settings. After the main photo is removed, the previous profile photo (if present) becomes the main photo.

removeChatVerification · removeMyProfilePhoto · removeUserVerification