UNPKG

1.26 kBTypeScriptView Raw
1/**
2 * LINE Messaging API
3 * This document describes LINE Messaging API.
4 *
5 * The version of the OpenAPI document: 0.0.1
6 *
7 *
8 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9 * https://openapi-generator.tech
10 * Do not edit the class manually.
11 */
12/**
13 * Request entity of the Acquire Control API
14 */
15export type AcquireChatControlRequest = {
16 /**
17 * `True`: After the time limit (ttl) has passed, the initiative (Chat Control) will return to the Primary Channel. (Default) `False`: There\'s no time limit and the initiative (Chat Control) doesn\'t change over time.
18 *
19 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#acquire-control-api">expired Documentation</a>
20 */
21 expired?: boolean;
22 /**
23 * The time it takes for initiative (Chat Control) to return to the Primary Channel (the time that the module channel stays on the Active Channel). The value is specified in seconds. The maximum value is one year (3600 * 24 * 365). The default value is 3600 (1 hour). * Ignored if the value of expired is false.
24 *
25 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#acquire-control-api">ttl Documentation</a>
26 */
27 ttl?: number;
28};