Updated the get_channel_info method.