Automatically configure dialogue endpoints

Once #1042 lands, we will need a way of automatically determining which endpoints to use based on the chosen channel types.
I realized that I don't really know what ``channel_types`` is for which is making me worried I missed something important in one of the previous PRs. :/