How to Get channel name or channel id

Hello Team, How to get channel id or channel name based on the channels I want to devide my chatbot users details using channels as of now the chatbot will connected to 3 channels. How to identify channels