Front.addTopic(topic, callback)
A topic is an external link attached to your conversation. It has a type, a name, and a URL.
topic: object
Field Name | Type | Description |
---|---|---|
type | string | The type of the topic. Can be either web , asana , github , jira , or trello . |
name | string | The name of the link which will appear on the conversation. |
ext_link | string | URL of the topic. |
callback: function
A callback function.
Front.addTopic({
type: 'web',
name: 'Link example',
ext_link: 'http://example.com'
}, function() {
console.log('done');
});