Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conversation ¶
type Conversation struct {
// contains filtered or unexported fields
}
Conversation represents a conversation with a user.
type TelegramBot ¶
type TelegramBot struct {
// contains filtered or unexported fields
}
TelegramBot represents a Telegram bot instance
func New ¶
func New(logger *slog.Logger, token string, r registrator, cc companyCommands, chc chatCommands) (*TelegramBot, error)
New creates a new TelegramBot instance
func (*TelegramBot) SendMessage ¶
SendMessage sends a message to the specified chat IDs using the Telegram bot API.
Click to show internal directories.
Click to hide internal directories.