Telegram Bot API

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

post/setBusinessAccountProfilePhoto

Request

  • Base URL: https://api.telegram.org/bot<bot_token>
  • URL: https://api.telegram.org/bot<bot_token>/setBusinessAccountProfilePhoto
  • Auth: none declared

Request body

business_connection_idstring required

Unique identifier of the business connection

is_publicboolean

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.

Response

Telegram API response

oktrue required
resulttrue required

Changes

No recorded changes to this operation across all 3 revisions of this API.