ToggleSupergroupIsAllHistoryAvailable constructor

const ToggleSupergroupIsAllHistoryAvailable({
  1. required int supergroupId,
  2. required bool isAllHistoryAvailable,
})

Toggles whether the message history of a supergroup is available to new members; requires can_change_info administrator right

Implementation

const ToggleSupergroupIsAllHistoryAvailable({
  required this.supergroupId,
  required this.isAllHistoryAvailable,
});