bot

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2022 License: GPL-3.0 Imports: 12 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 {
	ChannelID string
	LogID     string
	Token     string
}

Bot holds telegram information

func (*Bot) Parse added in v1.3.0

func (b *Bot) Parse(url string)

Parse runs the bot against a provided url

func (*Bot) Start

func (b *Bot) Start(workingDir string)

Start runs the job once

type Context added in v1.6.2

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

Jump to

Keyboard shortcuts

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