UNPKG

1.59 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 */
12import { Audience } from "./audience";
13/**
14 * Create audience for uploading user IDs (by JSON)
15 */
16export type CreateAudienceGroupRequest = {
17 /**
18 * The audience\'s name. This is case-insensitive, meaning AUDIENCE and audience are considered identical. Max character limit: 120
19 *
20 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group">description Documentation</a>
21 */
22 description?: string;
23 /**
24 * To specify recipients by IFAs: set true. To specify recipients by user IDs: set false or omit isIfaAudience property.
25 *
26 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group">isIfaAudience Documentation</a>
27 */
28 isIfaAudience?: boolean;
29 /**
30 * The description to register for the job (in jobs[].description).
31 *
32 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group">uploadDescription Documentation</a>
33 */
34 uploadDescription?: string;
35 /**
36 * An array of user IDs or IFAs. Max number: 10,000
37 *
38 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group">audiences Documentation</a>
39 */
40 audiences?: Array<Audience>;
41};