|
| 1 | +/** |
| 2 | + * LIFF server API |
| 3 | + * LIFF Server API. |
| 4 | + * |
| 5 | + * The version of the OpenAPI document: 1.0.0 |
| 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 | + */ |
| 12 | + |
| 13 | +/** |
| 14 | + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). |
| 15 | + * https://openapi-generator.tech |
| 16 | + * Do not edit the class manually. |
| 17 | + */ |
| 18 | + |
| 19 | +//go:generate python3 ../../generate-code.py |
| 20 | +package liff |
| 21 | + |
| 22 | +// UpdateLiffView |
| 23 | +// UpdateLiffView |
| 24 | +// https://developers.line.biz/en/reference/liff-server/#update-liff-app |
| 25 | +type UpdateLiffView struct { |
| 26 | + |
| 27 | + /** |
| 28 | + * Size of the LIFF app view. Specify one of these values: - compact - tall - full |
| 29 | + */ |
| 30 | + Type UpdateLiffViewTYPE `json:"type,omitempty"` |
| 31 | + |
| 32 | + /** |
| 33 | + * 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. |
| 34 | + */ |
| 35 | + Url string `json:"url,omitempty"` |
| 36 | + |
| 37 | + /** |
| 38 | + * `true` to use the LIFF app in modular mode. When in modular mode, the action button in the header is not displayed. |
| 39 | + */ |
| 40 | + ModuleMode bool `json:"moduleMode"` |
| 41 | +} |
| 42 | + |
| 43 | +// UpdateLiffViewTYPE type |
| 44 | +/* Size of the LIFF app view. Specify one of these values: - compact - tall - full */ |
| 45 | +type UpdateLiffViewTYPE string |
| 46 | + |
| 47 | +// UpdateLiffViewTYPE constants |
| 48 | +const ( |
| 49 | + UpdateLiffViewTYPE_COMPACT UpdateLiffViewTYPE = "compact" |
| 50 | + |
| 51 | + UpdateLiffViewTYPE_TALL UpdateLiffViewTYPE = "tall" |
| 52 | + |
| 53 | + UpdateLiffViewTYPE_FULL UpdateLiffViewTYPE = "full" |
| 54 | +) |
0 commit comments