UNPKG

@line/bot-sdk

Version:
52 lines 1.92 kB
/** * LINE Messaging API * This document describes LINE Messaging API. * * The version of the OpenAPI document: 0.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { AudienceGroupType } from "./audienceGroupType.js"; /** * Create audience for uploading user IDs (by JSON) * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group">https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group</a> */ export type CreateAudienceGroupResponse = { /** * The audience ID. */ audienceGroupId?: number; /** * How the audience was created. `MESSAGING_API`: An audience created with Messaging API. */ createRoute?: CreateAudienceGroupResponse.CreateRouteEnum; type?: AudienceGroupType; /** * The audience's name. */ description?: string; /** * When the audience was created (in UNIX time). */ created?: number; /** * Audience's update permission. Audiences linked to the same channel will be READ_WRITE. `READ`: Can use only. `READ_WRITE`: Can use and update. */ permission?: CreateAudienceGroupResponse.PermissionEnum; /** * Time of audience expiration. Only returned for specific audiences. */ expireTimestamp?: number; /** * The value indicating the type of account to be sent, as specified when creating the audience for uploading user IDs. One of: `true`: Accounts are specified with IFAs. `false` (default): Accounts are specified with user IDs. */ isIfaAudience?: boolean; }; export declare namespace CreateAudienceGroupResponse { type CreateRouteEnum = "MESSAGING_API"; type PermissionEnum = "READ" | "READ_WRITE"; } //# sourceMappingURL=createAudienceGroupResponse.d.ts.map