user

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NetflixFilter

func NetflixFilter(netflixList []string, cfg *config.RawConfig) (netflixCfg config.RawConfig)

Types

type Data

type Data struct {
	LastCheck int64
	SubURL    string
	CheckInfo string
}

type User

type User struct {
	ID              int64
	Data            Data
	Bot             *tgBot.BotAPI
	IsCheck         bool
	MessageID       int
	RefuseMessageID int
}

func (*User) DeleteMessage added in v1.1.3

func (u *User) DeleteMessage(msgID int) error

func (*User) EditMessage added in v1.1.3

func (u *User) EditMessage(msgID int, text string) error

func (*User) Send

func (u *User) Send(ctx string) (resp tg.Message, err error)

func (*User) URLCheck

func (u *User) URLCheck()

func (*User) UserOutInternal

func (u *User) UserOutInternal(n int) bool

Jump to

Keyboard shortcuts

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