lib/tdlib/client_methods.rb
def toggle_supergroup_is_all_history_available(supergroup_id:, is_all_history_available:)
    broadcast('@type'                    => 'toggleSupergroupIsAllHistoryAvailable',
              'supergroup_id'            => supergroup_id,
              'is_all_history_available' => is_all_history_available)
  end
# Toggles whether the message history of a supergroup is available to new members; requires can_change_info
#   administrator right.
#
# @param supergroup_id [Integer] The identifier of the supergroup.
# @param is_all_history_available [Boolean] The new value of is_all_history_available.
# @return [TD::Types::Ok]
Toggles whether the message history of a supergroup is available to new members; requires can_change_info
administrator right.
Toggles whether the message history of a supergroup is available to new members ; requires can_change_info administrator right .
def toggle_supergroup_is_all_history_available(supergroup_id:, is_all_history_available:)
    broadcast('@type'                    => 'toggleSupergroupIsAllHistoryAvailable',
              'supergroup_id'            => supergroup_id,
              'is_all_history_available' => is_all_history_available)
  end
def toggle_supergroup_is_all_history_available ( supergroup_id : , is_all_history_available : ) broadcast ( '@type' => 'toggleSupergroupIsAllHistoryAvailable' , 'supergroup_id' => supergroup_id , 'is_all_history_available' => is_all_history_available ) end
Toggles whether the message history of a supergroup is available to new members; requires can_change_info
administrator right.
Toggles whether the message history of a supergroup is available to new members ; requires can_change_info administrator right .
None
TD::Types::Ok
supergroup_id
The identifier of the supergroup.
The identifier of the supergroup .
is_all_history_available
The new value of is_all_history_available.
The new value of is_all_history_available .