import Gmt from 'gmt-typescript-sdk';const client = new Gmt({ apiKey: process.env['GMT_API_KEY'], // This is the default and can be omitted});const response = await client.profile.unbindTelegram();console.log(response.success);
{ "success": true}
Profile
Unbind Telegram account
Disables linking of the Telegram account to the user’s web profile, all data remains on the web account.
PATCH
/
v1
/
profile
/
unbind-telegram
JavaScript
import Gmt from 'gmt-typescript-sdk';const client = new Gmt({ apiKey: process.env['GMT_API_KEY'], // This is the default and can be omitted});const response = await client.profile.unbindTelegram();console.log(response.success);