Documentation ¶
Index ¶
- type BotAPI
- func (b *BotAPI) AllAtOnce(update tgbotapi.Update, qrCodeFilePath string)
- func (b *BotAPI) GenerateQRCode(update tgbotapi.Update, qrCodeFilePath string)
- func (b *BotAPI) HandleCommand(update tgbotapi.Update)
- func (b *BotAPI) HandleUpdate(update tgbotapi.Update)
- func (b *BotAPI) Initialize() error
- func (b *BotAPI) ProcessLink(update tgbotapi.Update)
- func (b *BotAPI) RequestLink(update tgbotapi.Update)
- func (b *BotAPI) SendShortenedURLList(update tgbotapi.Update)
- func (b *BotAPI) StartTelegramBot()
- func (b *BotAPI) TextGeneration(update tgbotapi.Update)
- func (b *BotAPI) UnknownCommand(update tgbotapi.Update)
- type BotService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BotAPI ¶
type BotAPI struct {
// contains filtered or unexported fields
}
func (*BotAPI) GenerateQRCode ¶
func (*BotAPI) HandleCommand ¶
func (*BotAPI) HandleUpdate ¶
func (*BotAPI) Initialize ¶
func (*BotAPI) ProcessLink ¶
func (*BotAPI) RequestLink ¶
func (*BotAPI) SendShortenedURLList ¶
func (*BotAPI) StartTelegramBot ¶
func (b *BotAPI) StartTelegramBot()
func (*BotAPI) TextGeneration ¶
func (*BotAPI) UnknownCommand ¶
type BotService ¶
type BotService interface { Initialize() error StartTelegramBot() }
Click to show internal directories.
Click to hide internal directories.