UNPKG

2.07 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 { FlexComponentBase } from "./models";
13export type FlexIcon = FlexComponentBase & {
14 type: "icon";
15 /**
16 *
17 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#icon">url Documentation</a>
18 */
19 url: string;
20 /**
21 *
22 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#icon">size Documentation</a>
23 */
24 size?: string;
25 /**
26 *
27 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#icon">aspectRatio Documentation</a>
28 */
29 aspectRatio?: string;
30 /**
31 *
32 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#icon">margin Documentation</a>
33 */
34 margin?: string;
35 /**
36 *
37 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#icon">position Documentation</a>
38 */
39 position?: FlexIcon.PositionEnum;
40 /**
41 *
42 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#icon">offsetTop Documentation</a>
43 */
44 offsetTop?: string;
45 /**
46 *
47 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#icon">offsetBottom Documentation</a>
48 */
49 offsetBottom?: string;
50 /**
51 *
52 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#icon">offsetStart Documentation</a>
53 */
54 offsetStart?: string;
55 /**
56 *
57 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#icon">offsetEnd Documentation</a>
58 */
59 offsetEnd?: string;
60 /**
61 *
62 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#icon">scaling Documentation</a>
63 */
64 scaling?: boolean;
65};
66export declare namespace FlexIcon {
67 type PositionEnum = "relative" | "absolute";
68}