zendesk-messaging-client
    Preparing search index...

    Type Alias LineWritable

    LineWritable: IntegrationWritable & { type: "line" } & {
        channelAccessToken?: string;
        channelId?: string;
        channelSecret?: string;
        qrCodeUrl?: string;
        serviceCode?: string;
        switcherSecret?: string;
        type?: string;
    } & DefaultResponderId & DefaultResponderWritable

    Type declaration

    • type: "line"
    • OptionalchannelAccessToken?: string

      LINE Channel Access Token.

    • OptionalchannelId?: string

      LINE Channel ID. Can be omitted along with channelSecret to integrate LINE to setup a webhook before receiving the channelId and channelSecret back from LINE.

    • OptionalchannelSecret?: string

      LINE Channel Secret. Can be omitted along with channelId to integrate LINE to setup a webhook before receiving the channelId and channelSecret back from LINE.

    • OptionalqrCodeUrl?: string

      URL provided by LINE in the Developer Console.

    • OptionalserviceCode?: string

      LINE Service Code.

    • OptionalswitcherSecret?: string

      LINE Switcher Secret.

    • Optionaltype?: string

      For LINE, each of your customers will need to manually configure a webhook in their LINE configuration page that will point to Sunshine Conversations servers. You must instruct your customers how to configure this manually on their LINE bot page. Once you’ve acquired all the required information, call the Create Integration endpoint. Then, using the returned integration _id, your customer must set the Callback URL field in their LINE Business Center page. The URL should look like the following: https://app.smooch.io:443/api/line/webhooks/{appId}/{integrationId}.