Documentation ¶
Index ¶
- Constants
- type CmdId
- type CommandCtx
- func (this *CommandCtx) Args() string
- func (this *CommandCtx) Command() string
- func (this *CommandCtx) HideKeyboard()
- func (this *CommandCtx) HideUserCommand()
- func (this *CommandCtx) Message() string
- func (this *CommandCtx) Reply(text string)
- func (this *CommandCtx) ReplyNoCitation(text string)
- func (this *CommandCtx) ReplyTo(text string, cid string, useCitation bool)
- func (this *CommandCtx) SayToChat(text string, cid string)
- func (this *CommandCtx) ShowKeyboard(keyboard [][]string)
- func (this *CommandCtx) UploadPNG(buffer *bytes.Buffer, useCitation bool)
- func (this *CommandCtx) User() string
- func (this *CommandCtx) UserId() string
- type Listener
- type ListenerCmd
Constants ¶
View Source
const (
CmdStop = 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandCtx ¶
type CommandCtx struct {
// contains filtered or unexported fields
}
func (*CommandCtx) Args ¶
func (this *CommandCtx) Args() string
func (*CommandCtx) Command ¶
func (this *CommandCtx) Command() string
func (*CommandCtx) HideKeyboard ¶
func (this *CommandCtx) HideKeyboard()
func (*CommandCtx) HideUserCommand ¶
func (this *CommandCtx) HideUserCommand()
func (*CommandCtx) Message ¶
func (this *CommandCtx) Message() string
func (*CommandCtx) Reply ¶
func (this *CommandCtx) Reply(text string)
func (*CommandCtx) ReplyNoCitation ¶
func (this *CommandCtx) ReplyNoCitation(text string)
func (*CommandCtx) ReplyTo ¶
func (this *CommandCtx) ReplyTo(text string, cid string, useCitation bool)
func (*CommandCtx) SayToChat ¶
func (this *CommandCtx) SayToChat(text string, cid string)
func (*CommandCtx) ShowKeyboard ¶
func (this *CommandCtx) ShowKeyboard(keyboard [][]string)
func (*CommandCtx) UploadPNG ¶
func (this *CommandCtx) UploadPNG(buffer *bytes.Buffer, useCitation bool)
func (*CommandCtx) User ¶
func (this *CommandCtx) User() string
func (*CommandCtx) UserId ¶
func (this *CommandCtx) UserId() string
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
func NewListener ¶
func (*Listener) PushMessage ¶
type ListenerCmd ¶
type ListenerCmd struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.