bot

package
v0.0.0-...-4020383 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

type Bot struct {
	// contains filtered or unexported fields
}

Bot WhySoSerious Bot implementation

func New

func New(c Configuration) (*Bot, error)

New Bot constructor

func (*Bot) Start

func (b *Bot) Start()

Start starts the telegram bot

type Configuration

type Configuration struct {
	PollerInterval     time.Duration
	Token              string
	FaceConf           *wssface.Configuration
	VisionConf         *wssvision.Configuration
	TextAnalyticsConf  *wsssentiment.Configuration
	ModeratorConf      *wssmoderator.Configuration
	TranslatorConf     *wsstranslator.Configuration
	FormRecognizerConf *wssformrecognizer.Configuration
}

Configuration Bot's Configuration

Jump to

Keyboard shortcuts

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