service

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceBot

type ServiceBot struct {
	TouchedFile bool
	// contains filtered or unexported fields
}

func NewServiceBot

func NewServiceBot() *ServiceBot

func (*ServiceBot) AutoDeleteMsg

func (s *ServiceBot) AutoDeleteMsg(chatID int64, msgID int, delay int)

func (*ServiceBot) GetAdminUser

func (s *ServiceBot) GetAdminUser() string

func (*ServiceBot) GetChat

func (s *ServiceBot) GetChat() map[int64]*chatInfo

func (*ServiceBot) SendMsg

func (s *ServiceBot) SendMsg(chatID int64, msg string, delete bool, delay int)

func (*ServiceBot) Start

func (s *ServiceBot) Start() error

func (*ServiceBot) Stop

func (s *ServiceBot) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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