Skip to content
Microsoft Bot Framework SDK for Go
Go Shell
Branch: develop
Clone or download
PrasadG193 Add support for attachments and proactive messages (#27)
* Add message helper methods
Add support for attachments

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>

* Update echobot sample
Add new sample for attachment

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>

* Improve error handling while sending client response

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>

* Fix go test

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>

* Add support for proactive messages

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>

* Remove duplicate code

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
Latest commit 9d11322 Jan 28, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.openapi-generator Generate go server code Dec 24, 2019
connector Add support for attachments and proactive messages (#27) Jan 28, 2020
core Add support for attachments and proactive messages (#27) Jan 28, 2020
hack Add license headers (#21) Jan 24, 2020
protocol Generate go server code Dec 24, 2019
samples Add support for attachments and proactive messages (#27) Jan 28, 2020
schema Add support for attachments and proactive messages (#27) Jan 28, 2020
.gitignore Initial commit Nov 14, 2019
.openapi-generator-ignore Generate go server code Dec 24, 2019
.release Release v0.1.0 Jan 15, 2020
.travis.yml Add license headers (#21) Jan 24, 2020
CHANGELOG.md Release v0.1.0 Jan 15, 2020
LICENSE Initial commit Nov 14, 2019
README.md Add godoc reference badge in README (#18) Jan 15, 2020
go.mod Add verification and build scripts in CI Jan 14, 2020
go.sum Add verification and build scripts in CI Jan 14, 2020

README.md

Microsoft Bot Framework SDK for Go

Build Status GoDoc

This repository is the Go version of the Microsoft Bot Framework SDK. It facilitates developers to build bot applications using the Go language.

Installing

$ go get -u github.com/infracloudio/msbotbuilder-go/...

Get started with example

The samples contains a sample bot created using this library which echoes any message received.

Before running this, two environment variables are needed viz. the Bot Framework application ID and the password. This can be received after registration of a new bot.

$ export APP_ID=MICROSOFT_APP_ID
$ export APP_PASSWORD=MICROSOFT_APP_PASSWORD

Then, from the root of this repository,

$ cd samples/echobot
$ go run main.go

This starts a webserver on port 3978 by default.

This is the endpoint which the connector service for the registered bot should point to. For a descriptive understanding of the example refer the sample.

Contributing

We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:

  • Reporting a bug
  • Discussing the current state of the code
  • Submitting a fix
  • Proposing new features

Credits

This project is highly inspired from the official Microsoft Bot Framework SDK - https://github.com/microsoft/botbuilder-python.

We have borrowed most of the design principles from the official Python SDKs.

You can’t perform that action at this time.