broadcaster

package
v0.0.0-...-3723a19 Latest Latest
Warning

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

Go to latest
Published: May 19, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ac *appcontext.Context)

New is a appcontext initialization function

Types

type Broadcaster

type Broadcaster struct{}

Broadcaster is a function-handling struct for broadcaster

func (*Broadcaster) AdminBroadcastMessageCompose

func (b *Broadcaster) AdminBroadcastMessageCompose(update *tgbotapi.Update, playerRaw *dbmapping.Player) string

AdminBroadcastMessageCompose saves message for future broadcast

func (*Broadcaster) AdminBroadcastMessageSend

func (b *Broadcaster) AdminBroadcastMessageSend(update *tgbotapi.Update, playerRaw *dbmapping.Player) string

AdminBroadcastMessageSend sends saved message to all private chats

func (*Broadcaster) Init

func (b *Broadcaster) Init()

Init is an initialization function for talkers

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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