def _get_channel():
 channel = (__salt__['config.get']('mattermost.channel') or __salt__['config.get']('mattermost:channel'))
 return channel

def _get_channel ( ) : channel = ( __salt__ [ 'config.get' ] ( 'mattermost.channel' ) or __salt__ [ 'config.get' ] ( 'mattermost:channel' ) ) return channel
retrieves the mattermosts configured channel :return: string: the channel string .