Skip to content
This repository has been archived by the owner on Nov 16, 2018. It is now read-only.

anoldguy/vanilla-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo Chat Integration

Deploy

Handle chat integrations with ease!

Getting Started

TODO: Add copy about how integrations work, and how to set one up.

In the host app, type !test help. You should see the following:

ping - Test if the endpoint is responding. Returns PONG.
help - Lists all commands with help
help <command> - Lists help for <command>
hello - Greets you by name!
date - Tells you what date it is.

Now, type !test hello, and you should see:

Hello, <name>!

Integration Basics

Assuming user "Happy Camper" sent the command, the host app will POST to your URL with the following data:

{
  "command": "the command text",
  "metadata": {
    "callback_url": "https://3.basecamp.com/path/to/sending/chatroom"
    "creator": {
      "familiar": "Happy C.",
      "mentionable": "@happy"
    }
  }
}

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages