Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sassy/line-bot-flex-message-helper
helper flex message
https://github.com/sassy/line-bot-flex-message-helper
Last synced: 13 days ago
JSON representation
helper flex message
- Host: GitHub
- URL: https://github.com/sassy/line-bot-flex-message-helper
- Owner: sassy
- Created: 2019-06-29T10:15:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-12T17:23:25.000Z (2 months ago)
- Last Synced: 2024-09-13T06:38:45.164Z (2 months ago)
- Language: TypeScript
- Size: 1.04 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# line-bot-flex-message-helper
example
```
const container = new BubbleConteiner();
const textBox = new Box('vertical').addContent(new TextContent('Hello,World'));
container.setBodyBlock(textBox)const ret = Client.Helper().setContainerType(container).dump();
```result
```
{
"type":"bubble",
"body":{
"type":"box",
"layout":"vertical",
"contents":[
{
"type":"text",
"text":"Hello,World"
}
]
}
}
```