App code of the URL’s target (the app’s code).
ID of the URL’s target.
Link target namespace (the code of the app's workspace).
The method disconnects a live chat channel.
await Context.data.channel.disconnect();
Request complete data of a reference object.
The method activates a previously disconnected live chat channel.
The following types of channels can be reconnected: telegramBot, inbox,viberbot, livechat, and instagram (see LineChannelType).
telegramBot
inbox
viberbot
livechat
instagram
await Context.data.channel.reconnect();
Your review is successfully sent!
Feedback sent successfully
Link to the Live Chat channel object
Type parameters
I: Item<ItemData>
Hierarchy
Properties
Readonly code
App code of the URL’s target (the app’s code).
Readonly id
ID of the URL’s target.
Readonly namespace
Link target namespace (the code of the app's workspace).
Methods
disconnect
The method disconnects a live chat channel.
await Context.data.channel.disconnect();Returns Promise<void>
fetch
Request complete data of a reference object.
Returns Promise<LineChannelItem>
reconnect
The method activates a previously disconnected live chat channel.
The following types of channels can be reconnected:
telegramBot,inbox,viberbot,livechat, andinstagram(see LineChannelType).await Context.data.channel.reconnect();Returns Promise<void>
Feedback sent successfully
Thank you for your input