-
Notifications
You must be signed in to change notification settings - Fork 228
/
model_liff_view.go
54 lines (44 loc) · 1.48 KB
/
model_liff_view.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/**
* LIFF server API
* LIFF Server API.
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
//go:generate python3 ../../generate-code.py
package liff
// LiffView
// LiffView
// https://developers.line.biz/en/reference/liff-server/#add-liff-app
type LiffView struct {
/**
* Size of the LIFF app view. Specify one of these values: - compact - tall - full (Required)
*/
Type LiffViewTYPE `json:"type"`
/**
* Endpoint URL. This is the URL of the web app that implements the LIFF app (e.g. https://example.com). Used when the LIFF app is launched using the LIFF URL. The URL scheme must be https. URL fragments (#URL-fragment) can't be specified. (Required)
*/
Url string `json:"url"`
/**
* `true` to use the LIFF app in modular mode. When in modular mode, the action button in the header is not displayed.
*/
ModuleMode bool `json:"moduleMode"`
}
// LiffViewTYPE type
/* Size of the LIFF app view. Specify one of these values: - compact - tall - full */
type LiffViewTYPE string
// LiffViewTYPE constants
const (
LiffViewTYPE_COMPACT LiffViewTYPE = "compact"
LiffViewTYPE_TALL LiffViewTYPE = "tall"
LiffViewTYPE_FULL LiffViewTYPE = "full"
)