Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InputPsqlRepository ¶
type InputPsqlRepository struct {
// contains filtered or unexported fields
}
func NewInputPsqlRepository ¶
func NewInputPsqlRepository(conn *sql.DB) *InputPsqlRepository
type TelegramServiceTgBotApi ¶
type TelegramServiceTgBotApi struct {
// contains filtered or unexported fields
}
func NewTelegramServiceTgBotApi ¶
func NewTelegramServiceTgBotApi(bot *tgbotapi.BotAPI) *TelegramServiceTgBotApi
NewTelegramServiceTgBotApi TODO
func (*TelegramServiceTgBotApi) IsChatValid ¶
func (t *TelegramServiceTgBotApi) IsChatValid(ctx context.Context, chatID int64, userID int64) (bool, error)
IsChatValid verify if chat below to the user ID and if the current bot have the required permissions on that chat.
Click to show internal directories.
Click to hide internal directories.