Documentation ¶
Index ¶
- func Connect()
- func GetDB() *pgxpool.Pool
- type TChat
- func (data TChat) ActivateAccount(chatID int64) error
- func (data TChat) DeactivateAccount(chatID int64) error
- func (t TChat) GetAllTelegramChats() (chats []TChat, err error)
- func (data TChat) RegisterChat() error
- func (data *TChat) SelectByID(id int64) error
- func (data TChat) SetIDState(state int) error
- type TUserItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TChat ¶
type TChat entity.TelegramChat
func (TChat) ActivateAccount ¶
activate telegram account / reactivation
func (TChat) DeactivateAccount ¶
deactivate telegram account
func (TChat) GetAllTelegramChats ¶
get all active telegram chat data
func (*TChat) SelectByID ¶
select data by telegram chat id
func (TChat) SetIDState ¶
update telegram chat id state
Click to show internal directories.
Click to hide internal directories.