16 lines
304 B
Go
16 lines
304 B
Go
package common
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/go-telegram/bot"
|
|
"github.com/go-telegram/bot/models"
|
|
)
|
|
|
|
type SubHandlerOpts struct {
|
|
Context context.Context
|
|
Thebot *bot.Bot
|
|
Update *models.Update
|
|
Fields []string // 根据请求的类型,可能是消息文本,也可能是 inline 的 query
|
|
}
|