service

package
v0.0.0-...-c843baf Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 4 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
}

func NewBot

func NewBot(
	api *tgbotapi.BotAPI,
) *Bot

func (Bot) Ban

func (bot Bot) Ban(chatID int64, userID int64, untilDate int64) error

func (Bot) DeleteMessage

func (bot Bot) DeleteMessage(chatID int64, messageID int) error

func (Bot) Kick

func (bot Bot) Kick(chatID int64, userID int64) error

func (Bot) SendMessage

func (bot Bot) SendMessage(chatID int64, text string) error

type Nagan

type Nagan struct {
}

func NewNagan

func NewNagan() *Nagan

func (Nagan) Shot

func (ng Nagan) Shot(gunslingers []*domain.Gunslinger) *domain.Gunslinger

Jump to

Keyboard shortcuts

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