Documentation ¶
Index ¶
- func AutoRespond() tele.MiddlewareFunc
- func Blacklist(chats ...int64) tele.MiddlewareFunc
- func IgnoreVia() tele.MiddlewareFunc
- func Logger(logger ...*log.Logger) tele.MiddlewareFunc
- func Restrict(v RestrictConfig) tele.MiddlewareFunc
- func Whitelist(chats ...int64) tele.MiddlewareFunc
- type RestrictConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoRespond ¶
func AutoRespond() tele.MiddlewareFunc
func Blacklist ¶
func Blacklist(chats ...int64) tele.MiddlewareFunc
func IgnoreVia ¶
func IgnoreVia() tele.MiddlewareFunc
func Restrict ¶
func Restrict(v RestrictConfig) tele.MiddlewareFunc
func Whitelist ¶
func Whitelist(chats ...int64) tele.MiddlewareFunc
Types ¶
type RestrictConfig ¶
type RestrictConfig struct { Chats []int64 In, Out tele.HandlerFunc }
Click to show internal directories.
Click to hide internal directories.