Documentation ¶
Index ¶
Constants ¶
View Source
const ( ChatStateInitial = iota ChatStateSubnetExpectCIDR )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Telegram ¶
type Telegram struct {
// contains filtered or unexported fields
}
func NewTelegram ¶
type Tx ¶
type Tx interface { db.Tx CreateChatState(chatID int64, chatState ChatState) (ChatState, error) GetChatState(chatID int64) (ChatState, error) UpdateChatState(chatID int64, chatState ChatState) (ChatState, error) DeleteChatState(chatID int64) error CreateChatLongRunningCommand(chatID int64, command string) (string, error) GetChatLongRunningCommand(chatID int64) (string, error) UpdateChatLongRunningCommand(chatID int64, command string) (string, error) DeleteChatLongRunningCommand(chatID int64) error }
Click to show internal directories.
Click to hide internal directories.