UNPKG

2.01 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 { AudienceGroup } from "./audienceGroup";
13/**
14 * Gets data for more than one audience.
15 */
16export type GetAudienceGroupsResponse = {
17 /**
18 * An array of audience data. If there are no audiences that match the specified filter, an empty array will be returned.
19 *
20 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-groups">audienceGroups Documentation</a>
21 */
22 audienceGroups?: Array<AudienceGroup>;
23 /**
24 * true when this is not the last page.
25 *
26 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-groups">hasNextPage Documentation</a>
27 */
28 hasNextPage?: boolean;
29 /**
30 * The total number of audiences that can be returned with the specified filter.
31 *
32 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-groups">totalCount Documentation</a>
33 */
34 totalCount?: number;
35 /**
36 * Of the audiences you can get with the specified filter, the number of audiences with the update permission set to READ_WRITE.
37 *
38 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-groups">readWriteAudienceGroupTotalCount Documentation</a>
39 */
40 readWriteAudienceGroupTotalCount?: number;
41 /**
42 * The current page number.
43 *
44 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-groups">page Documentation</a>
45 */
46 page?: number;
47 /**
48 * The maximum number of audiences on the current page.
49 *
50 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#get-audience-groups">size Documentation</a>
51 */
52 size?: number;
53};