Skip to content

infracloudio/msbotbuilder-go

This branch is 4 commits ahead of, 2 commits behind develop.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

25477b9 · Nov 29, 2023

History

54 Commits
Nov 29, 2023
Dec 24, 2019
Nov 29, 2023
Nov 29, 2023
Jul 26, 2020
Dec 24, 2019
Nov 29, 2023
Mar 15, 2020
Mar 13, 2021
Dec 24, 2019
Oct 19, 2021
Oct 19, 2021
Nov 14, 2019
Jan 15, 2020
Oct 18, 2021
Oct 18, 2021

Repository files navigation

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.