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
| Name | Type | Description |
|---|---|---|
| supergroup_id | number | The identifier of the supergroup. |
| is_all_history_available | bool | The new value of is_all_history_available. |
More details on telegram’s documentation.