dao

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUser

func CreateUser(userID int64) error

func DeleteReceivedFile added in v0.3.0

func DeleteReceivedFile(receivedFile *types.ReceivedFile) error

func GetReceivedFileByChatAndMessageID

func GetReceivedFileByChatAndMessageID(chatID int64, messageID int) (*types.ReceivedFile, error)

func GetUserByUserID

func GetUserByUserID(userID int64) (*types.User, error)

func Init

func Init()

func SaveReceivedFile added in v0.8.0

func SaveReceivedFile(receivedFile *types.ReceivedFile) error

func UpdateUser

func UpdateUser(user *types.User) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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