Skip to content

Instantly share code, notes, and snippets.

View kamnan43's full-sized avatar

Sitthi Thiammekha kamnan43

View GitHub Profile
{
"type": "flex",
"altText": "FIFA Home",
"contents": {
"type": "bubble",
"header": {
"type": "box",
"layout": "vertical",
"contents": [
{
{
"type": "carousel",
"contents": [
{
"type": "bubble",
"body": {
"type": "box",
"layout": "vertical",
"spacing": "md",
"contents": [
{
"type": "carousel",
"contents": [
{
"type": "bubble",
"header": {
"type": "box",
"layout": "vertical",
"contents": [
{
{
"type": "carousel",
"contents": [
{
"type": "bubble",
"body": {
"type": "box",
"layout": "vertical",
"contents": [
{
{
"type": "bubble",
"body": {
"type": "box",
"layout": "vertical",
"spacing": "md",
"contents": [
{
"type": "text",
"text": "Head 2 Head",
{
"type": "bubble",
"body": {
"type": "box",
"layout": "vertical",
"spacing": "md",
"contents": [
{
"type": "text",
"text": "Statistics",
var fs = require('fs');
var request = require('request');
var formData = {
message: 'test message',
imageFile: fs.createReadStream('/file/path.jpeg'),
};
var options = {
method: 'POST',
url: 'https://notify-api.line.me/api/notify',
// See https://github.com/dialogflow/dialogflow-fulfillment-nodejs
// for Dialogflow fulfillment library docs, samples, and to report issues
'use strict';
const functions = require('firebase-functions');
const {WebhookClient} = require('dialogflow-fulfillment');
const {Card, Suggestion} = require('dialogflow-fulfillment');
process.env.DEBUG = 'dialogflow:debug'; // enables lib debugging statements
{
"type": "bubble",
"size": "mega",
"hero": {
"type": "image",
"url": "https://emetworks-cigna.s3.ap-southeast-1.amazonaws.com/BotResource/travel-annual-header.png",
"size": "full",
"aspectMode": "cover",
"aspectRatio": "16.6:3.7"
},
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="theme-color" content="#000000" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title>Clinic</title>
</head>