lark

package
v0.5.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LOGIN  = "login"
	APPID  = "appid"
	APPMM  = "appmm"
	TOKEN  = "token"
	EXPIRE = "expire"
)
View Source
const (
	P2P_CHAT_CREATE = "p2p_chat_create"
	MESSAGE_READ    = "message_read"
	CHAT_DISBAND    = "chat_disband"
	ADD_BOT         = "add_bot"
	MSG_TYPE        = "msg_type"
)
View Source
const (
	APP_ID       = "app_id"
	SHIP_ID      = "ship_id"
	OPEN_ID      = "open_id"
	CHAT_ID      = "chat_id"
	USER_ID      = "user_id"
	OPEN_CHAT_ID = "open_chat_id"
	USER_OPEN_ID = "user_open_id"
)
View Source
const APP = "app"
View Source
const COMPANY = "company"
View Source
const (
	CONTENT = "content"
)
View Source
const DUTY = "duty"
View Source
const EMPLOYEE = "employee"
View Source
const EVENT = "event"
View Source
const FORM = "form"
View Source
const GROUP = "group"
View Source
const HOME = "home"
View Source
const LARK = "lark"
View Source
const MSG = "msg"
View Source
const RAND = "rand"
View Source
const SEND = "send"
View Source
const SSO = "sso"
View Source
const TALK = "talk"

Variables

View Source
var Index = &ice.Context{Name: LARK, Help: "机器人",
	Commands: map[string]*ice.Command{
		ice.CTX_INIT: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
			m.Load()
		}},
		ice.CTX_EXIT: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
			m.Save()
		}},
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL