account.toggleSponsoredMessages

Disable or re-enable Telegram ads for the current Premium account.

Useful for business owners that may want to launch and view their own Telegram ads via the Telegram ad platform ».

 Method schema is available as of layer 178. Switch »

Parameters

Name Type Description
enabled Bool Enable or disable ads.

Result

Bool

Related pages

Telegram Premium

Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.