global

package
v0.0.0-...-e7acbab Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

View Source
const (
	LIVEPARTY_JOIN = 1
	LIVEPARTY_QUIT = -1
)
View Source
const IMAS_GROUP_ID = -1001384272355

Live Party temporary store TODO: CLEAN UP CODE BELOW

Variables

View Source
var BOTAPI *tg.BotAPI
View Source
var Mutex sync.Mutex
View Source
var PartyTable map[int]PartyInfo

Functions

This section is empty.

Types

type PartyInfo

type PartyInfo struct {
	Default            int // Default is JOIN, then the user will always be in the list
	OperationTimestamp time.Time
	Username           string
	Operation          int // JOIN then join, QUIT then quit
}

Jump to

Keyboard shortcuts

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