def format_freshdesk_note_message(ticket, event_info):
 note_type = event_info[1]
 content = ('%s <%s> added a %s note to [ticket #%s](%s).' % (ticket.requester_name, ticket.requester_email, note_type, ticket.id, ticket.url))
 return content

def format_freshdesk_note_message ( ticket , event_info ) : note_type = event_info [ 1 ] content = ( '%s <%s> added a %s note to [ticket #%s](%s).' % ( ticket . requester_name , ticket . requester_email , note_type , ticket . id , ticket . url ) ) return content
there are public and private note types .