context

package
v0.0.0-...-c82c62b Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Bot           *tgbotapi.BotAPI
	Repo          *repository.Repository
	RabbitPublish *rabbit.RabbitClient // for publishing only
	RabbitConsume *rabbit.RabbitClient // for consuming only
	Config        *config.Config
}

func (*Context) Send

func (context *Context) Send(message tgbotapi.MessageConfig)

drop-in replacement for telegram Send method, posts with highest priority

Jump to

Keyboard shortcuts

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