voetbalpoulestelegram

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: MIT Imports: 8 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 {
	*tgbotapi.BotAPI
	// contains filtered or unexported fields
}

func NewBot

func NewBot(token string, chat int64) *Bot

func (*Bot) StuurStand

func (bot *Bot) StuurStand(deelnemers []voetbalpoules.Deelnemer)

StuurStand sends the ranking

func (*Bot) StuurUitslag

func (bot *Bot) StuurUitslag(vw voetbalpoules.VoorspeldeWedstrijd)

StuurUitslag sends a message for a match played

func (*Bot) StuurVoorspellingDefinitief

func (bot *Bot) StuurVoorspellingDefinitief(vw voetbalpoules.VoorspeldeWedstrijd, voetbalpoulesBaseUrl string)

StuurVoorspellingDefinitief sends a message containing predictions formatted as definitive

func (*Bot) StuurVoorspellingVoorlopig

func (bot *Bot) StuurVoorspellingVoorlopig(vw voetbalpoules.VoorspeldeWedstrijd, voetbalpoulesBaseUrl string)

StuurVoorspellingVoorlopig sends a message containing predictions formatted as definitive

Jump to

Keyboard shortcuts

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