Documentation
¶
Index ¶
- func AddChat(botId int64, chatId int64) error
- func AddUser(botId int64, userId int64) error
- func AllChats(botId int64) ([]int64, error)
- func AllUsers(botId int64) ([]int64, error)
- func GetAllBots() ([]int64, error)
- func IsMuted(chatId int64, userId int64) (bool, error)
- func RemoveMuted(chatId int64, userid int64) error
- func SetFSub(chatId int64, fSub bool) error
- func SetFSubChannel(chatId int64, channel int64) error
- func SetFSubSetting(fSub *FSub) error
- func Shutdown()
- func UpdateMuted(chatId int64, userid int64) error
- type FSub
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveMuted ¶
RemoveMuted removes a user from the muted list
func SetFSubChannel ¶
SetFSubChannel sets the FSub setting for a chat
func SetFSubSetting ¶
SetFSubSetting sets the FSub setting for a chat
func UpdateMuted ¶
UpdateMuted adds a user to the muted list
Types ¶
Click to show internal directories.
Click to hide internal directories.