Interface ToggleSupergroupIsAllHistoryAvailable

Toggles whether the message history of a supergroup is available to new members; requires can_change_info member right. Request type for Tdjson#toggleSupergroupIsAllHistoryAvailable.

interface ToggleSupergroupIsAllHistoryAvailable {
    @type: "toggleSupergroupIsAllHistoryAvailable";
    is_all_history_available?: boolean;
    supergroup_id: number;
}

Properties

@type: "toggleSupergroupIsAllHistoryAvailable"
is_all_history_available?: boolean

The new value of is_all_history_available.

supergroup_id: number

The identifier of the supergroup.