Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BotApp ¶
BotApp 是整个机器人的启动器和控制器
func (*BotApp) ConfigureWebhook ¶
func (app *BotApp) ConfigureWebhook()
ConfigureWebhook 不再使用轮询阻塞,而是配置 Webhook。 这里仅仅是调用 Telegram API 设置 Webhook URL,真正的 HTTP 请求将由 web server 处理。
func (*BotApp) WebhookInfo ¶
func (app *BotApp) WebhookInfo()
Click to show internal directories.
Click to hide internal directories.