These docs are for v0.1.0. Click to read the latest docs for v1.0.0.

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 NameTypeDescription
typestringThe type of the topic. Can be either web, asana, github, jira, or trello.
namestringThe name of the link which will appear on the conversation.
ext_linkstringURL of the topic.

callback: function

A callback function.

Front.addTopic({
    type: 'web',
    name: 'Link example',
    ext_link: 'http://example.com'
}, function() {
    console.log('done');
});