Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Back to post

Revisions 2

3 years ago
Yong Sheng Tan
39 × 2 Administrator
Charts in Bots
Charts in Bots
There are a couple of options: #### Embedded Image Use a chart library to generate an image, then either attach it to your message or embed it inline using base64 #### Manual HTML + Styles For simple bar charts with less data, construct them manually using divs and styling. You can also create pie charts using a conic-gradient background style. Here's a sample of some creative styling: https://codepen.io/Theystan/pen/xxZVaXd #### Extension App If you require interactive charts, you will have to build an extension app with a message render override that iframes to a web app that produces the chart. This can get really complicated since you will need to host a web app and it will not work on mobile.
There are a couple of options: #### Embedded Image Use a chart library to generate an image, then either attach it to your message or embed it inline using base64 #### Manual HTML + Styles For simple bar charts with less data, construct them manually using divs and styling. you can also create pie charts using a conic-gradient background style . here's a sample of some creative styling: https://codepen.io/Theystan/pen/xxZVaXd #### Extension App If you require interactive charts, you will have to build an extension app with a message render override that iframes to a web app that produces the chart. this can get really complicated since you will need to host a web app and it will not work on mobile.
3 years ago
Original
Yong Sheng Tan
39 × 2 Administrator
Charts in Bots

There are a couple of options: #### Embedded Image Use a chart library to generate an image, then either attach it to your message or embed it inline using base64 #### Manual HTML + Styles For simple bar charts with less data, construct them manually using divs and styling. you can also create pie charts using a conic-gradient background style . here's a sample of some creative styling: https://codepen.io/Theystan/pen/xxZVaXd #### Extension App If you require interactive charts, you will have to build an extension app with a message render override that iframes to a web app that produces the chart. this can get really complicated since you will need to host a web app and it will not work on mobile.