hoangweb
8/20/2017 - 1:30 AM

botpress - UMM

botpress - UMM

gettingStarted:
  - text: Hello!
    typing: true|200ms|2s|2weeks
  - wait: 2s
  - text: How are you?
    typing: true
    
  # which platform
  - on: facebook
    text: How are you doing? Please use the buttons below!
    quick_replies:
      - <QR_GOOD> Good!
      - <QR_BAD> Bad ?�

  - on: sms
    text: How are you?
  
  - text: # Random string
    - Hello
    - Good day
    - Hey
  
  - text: Hello on all platforms
    on:
      facebook:
        text: Different Hello on Facebook
    
textWithQuickRepliesIcon:
  - text: This is quick replies with icons
    quick_replies:
      - payload: QR_RED_BUTTON
        title: Red
        image_url: "{{{icon1}}}"
        content_type: text
      - payload: QR_BLUE_BUTTON
        title: Blue
        image_url: "{{{icon2}}}"
        content_type: text
      - payload: QR_GREEN_BUTTON
        title: Green
        image_url: "{{{icon3}}}"
        content_type: text
        
text, wait, typing, on, quick_replies, waitRead

------------[Variable]---------------
{{user.first_name}}
first_name, last_name, locale, gender, timezone.