Sets the thread and thread messages in the Channel state.

| Type |
| - |
| function |
