mindmaker

package
v0.0.0-...-b5cca38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(config Config, db persistence.Persistence) error

Initialize initialize bot webhook to handle messages from Telegram

Types

type Config

type Config struct {
	Token         string
	SSL           bool
	Cert          string
	Key           string
	WebhookAddr   string
	ListeningPath string
}

Config configurations for mindmaker bot Token secret token string obtained from Telegram SSL indicator whether secured endpoint is being used Cert string for location of cert.pem Key string for location of key.pem WebhookAddr string for webhook address e.g. "https://mybot.herokuapp.com" ListeningPath string for path that handles updates e.g. "/"

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL