shared

package
v0.0.0-...-7b26cc3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: GPL-3.0, GPL-3.0-or-later Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Bot *tb.Bot

Bot contains telebot instance

View Source
var ChatData *chatData

ChatData manage access to stored data about a chat

View Source
var History *history

History manages acces to chat history

View Source
var Users *users

Users shared user for commands

Functions

func InitChatData

func InitChatData(chatDataFilePath string)

InitChatData is meant to store infos about a chat.

func InitHistory

func InitHistory(size int, historyFilePath string)

InitHistory init a chit history of a given size

func InitUsers

func InitUsers(usersFilePath string)

InitUsers inits the User info storage

Types

This section is empty.

Jump to

Keyboard shortcuts

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