#g4slkch_getChannelName

  *//////////////////////////////////////////////////////////////*                    
  * #g4slkch_getChannelName - Get Channel Name from ID           *                    
  *                                                              *                    
  * Input:                                                       *                    
  *   in_parameter (required) - The parameter name.              *                    
  *   in_value (required) - The value of the parameter.          *                    
  *                                                              *                    
  * Output:                                                      *                    
  *   out_errMsg - The error message (if error exists).          *                    
  *                                                              *                    
  * Returns:                                                     *                    
  *   Channel Name or blank for error.                           *                    
  *                                                              *                    
  * Settable Variables ([r]=required)                            *                    
  *   id - The Slack ID to use [r]                               *                    
  *   team - The Slack Team to use [r]                           *                    
  *   channel_id - The Channel ID to retrieve the Name for [r]   *                    
  *                                                              *                    
  *//////////////////////////////////////////////////////////////*                    
 D #g4slkch_getChannelName...      
 D                 PR           256                                 

D out_errMsg 256 Options(*NOPASS)

#g4slk_getChannelName is used retrieve the channel name using a channel id. To ensure the name is retrieved it is recommended to call #g4slkch_getChannelList before calling this function.

Returns: The channel ID or blank for an error.

Optional Parameters:

  • Error Message (output) - Error message

Settable Variables (use #g4slk_setValue)

  • id (required) - The Slack ID to use to retrieve the channel name.
  • team (required) The Slack Team to use to retrieve the channel name.
  • channel_id (required) - The channel ID to retrieve the channel name for.