@line/bot-sdk
Version:
Node.js SDK for LINE Messaging API
106 lines • 2.1 kB
TypeScript
/**
* 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 { Action } from "./action.js";
import { FlexBoxBackground } from "./flexBoxBackground.js";
import { FlexComponent } from "./flexComponent.js";
import { FlexComponentBase } from "./models.js";
export type FlexBox = FlexComponentBase & {
type: "box";
/**
*/
layout: FlexBox.LayoutEnum;
/**
*/
flex?: number;
/**
*/
contents: Array<FlexComponent>;
/**
*/
spacing?: string;
/**
*/
margin?: string;
/**
*/
position?: FlexBox.PositionEnum;
/**
*/
offsetTop?: string;
/**
*/
offsetBottom?: string;
/**
*/
offsetStart?: string;
/**
*/
offsetEnd?: string;
/**
*/
backgroundColor?: string;
/**
*/
borderColor?: string;
/**
*/
borderWidth?: string;
/**
*/
cornerRadius?: string;
/**
*/
width?: string;
/**
*/
maxWidth?: string;
/**
*/
height?: string;
/**
*/
maxHeight?: string;
/**
*/
paddingAll?: string;
/**
*/
paddingTop?: string;
/**
*/
paddingBottom?: string;
/**
*/
paddingStart?: string;
/**
*/
paddingEnd?: string;
/**
*/
action?: Action;
/**
*/
justifyContent?: FlexBox.JustifyContentEnum;
/**
*/
alignItems?: FlexBox.AlignItemsEnum;
/**
*/
background?: FlexBoxBackground;
};
export declare namespace FlexBox {
type LayoutEnum = "horizontal" | "vertical" | "baseline";
type PositionEnum = "relative" | "absolute";
type JustifyContentEnum = "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly";
type AlignItemsEnum = "center" | "flex-start" | "flex-end";
}
//# sourceMappingURL=flexBox.d.ts.map