Before you begin
- Sign up with TinyURL
 - Once you have logged in, click on Account in the top right corner.
 - In the left navigation pane, select API.
 - Create an API Token by giving it a name and permission to Create TinyURL.
 - Make note of the API Token as it will be required in Extension’s settings.
 
Extension settings
- Login to CometChat and select your app.
 - Go to the Extensions section and enable the TinyURL extension.
 - Open the settings and enter the TinyURL API Token.
 - If you have chosen a paid plan, you can also save your BYO domain or subdomain. Default is set to 
tinyurl.com - Save your settings.
 
BYO DomainIf you don’t plan on using a custom domain, please save 
tinyurl.com as the default value here.How does it work?
This extension uses thecallExtension method provided by CometChat SDK. You can call the extension as follows:
- JavaScript
 - Java
 - Swift