Setup channel history as an interative function.