Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSubscriber ¶
AddSubscriber adds a new subscriber to the database
func GetSubscribers ¶
GetSubscribers retrieves all subscriber chat IDs from the database
func InitDB ¶
func InitDB() error
InitDB initializes the database and creates the subscribers table if it doesn't exist
func RemoveSubscriber ¶
RemoveSubscriber removes a subscriber from the database by chat ID
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.