Documentation ¶
Index ¶
- Constants
- type History
- func (r *History) Back() (*types.Update, error)
- func (r *History) Clear() *History
- func (r *History) Empty() bool
- func (r *History) Foreach(callback func(int, *types.Update) bool)
- func (r *History) LastCallbackQuery() (*types.CallbackQuery, error)
- func (r *History) Pop() *History
- func (r *History) Push(update *types.Update) *History
- type Manager
Constants ¶
View Source
const DefaultCapacity = 16
DefaultCapacity 默认容量
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type History ¶
type History struct {
// contains filtered or unexported fields
}
History 历史记录
func (*History) LastCallbackQuery ¶
func (r *History) LastCallbackQuery() (*types.CallbackQuery, error)
LastCallbackQuery 最后的查询回调
Click to show internal directories.
Click to hide internal directories.