lib/helpers.js
function sanitizeTags(value, telegraf) {
  const blacklist = telegraf ? /:|\|/g : /:|\||@|,/g;
  // Replace reserved chars with underscores.
  return String(value).replace(blacklist, '_');
}
function sanitizeTags(value, telegraf) {
  const blacklist = telegraf ? /:|\|/g : /:|\||@|,/g;
  // Replace reserved chars with underscores.
  return String(value).replace(blacklist, '_');
}
function sanitizeTags ( value , telegraf ) { const blacklist = telegraf ? / :|\| / g : / :|\||@|, / g ; // Replace reserved chars with underscores. return String ( value ) . replace ( blacklist , '_' ) ; }
Replace any characters that can't be sent on with an underscore
Replace any characters that can t be sent on with an underscore