Add customize button in Chat widget

Can you add a feature to add button in chat widget using javascript method. In this way you can send different visitor to their respective ticketing portal.