channels.toggleAutotranslation

Toggle autotranslation in a channel, for all users: see here » for more info.

 Method schema is available as of layer 203. Switch »

Parameters

Name Type Description
channel InputChannel The channel where to toggle autotranslation.
enabled Bool Whether to enable or disable autotranslation.

Result

Updates

Only users can use this method

Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.

Related pages

Translation

Telegram allows translating chat messages: Telegram Premium users may even enable real-time chat translation.