TDLib v0.0.2 TDLib.Method.ToggleSupergroupIsAllHistoryAvailable View Source

Toggles whether the message history of a supergroup is available to new members; requires appropriate administrator rights in the supergroup. Returns object_ptr.

NameTypeDescription
supergroup_idnumberThe identifier of the supergroup.
is_all_history_availableboolThe new value of is_all_history_available.

More details on telegram’s documentation.