Type parameters
Hierarchy
-
ItemRef<LineChannelItem>
- LineChannelItemRef
Properties
Readonly code
App code of the URL’s target (the app’s code).
Readonly id
ID of the URL’s target.
Readonly namespace
Namespace of the URL target (the code of the workspace that the app belongs to).
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>
Link to the Live Chat channel object