Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TelegramBot ¶
type TelegramBot interface {
Start() error
}
type WebhookBot ¶
type WebhookBot struct { Bot // contains filtered or unexported fields }
func NewWebhookBot ¶
func NewWebhookBot(telegramBotToken string, webhookURL string) *WebhookBot
func (*WebhookBot) Start ¶
func (gptBot *WebhookBot) Start() error
Click to show internal directories.
Click to hide internal directories.