Interface ToggleSupergroupHasAutomaticTranslation

Toggles whether messages are automatically translated in the channel chat; requires can_change_info administrator right in the channel. The chat must have at least chatBoostFeatures.min_automatic_translation_boost_level boost level to enable automatic translation. Request type for Tdjson#toggleSupergroupHasAutomaticTranslation.

interface ToggleSupergroupHasAutomaticTranslation {
    @type: "toggleSupergroupHasAutomaticTranslation";
    has_automatic_translation?: boolean;
    supergroup_id: number;
}

Properties

@type: "toggleSupergroupHasAutomaticTranslation"
has_automatic_translation?: boolean

The new value of has_automatic_translation.

supergroup_id: number

The identifier of the channel.