flags

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserAgent = "user_agent"

	AccessToken = "access_token"
	Key         = "key"
	Secret      = "secret"

	AppID     = "app_id"
	AppSecret = "app_secret"

	ToUser           = "to_user"
	TemplateID       = "template_id"
	Url              = "url"
	ClientMsgID      = "client_msg_id"
	Color            = "color"
	Mini             = "mini"
	MiniAppID        = "app_id"
	MiniPagePath     = "page_path"
	MsgType          = "msg_type"
	KfAccount        = "kf_account"
	Page             = "page"
	MiniProgramState = "miniprogram_state"
	Language         = "lang"
	Scene            = "scene"
	Title            = "title"
	MediaType        = "media_type"
	MediaID          = "media_id"
	File             = "file"

	CorpID     = "corp_id"
	CorpSecret = "corp_secret"

	ToParty         = "to_party"
	ToTag           = "to_tag"
	ToParentUserID  = "to_parent_user_id"
	ToStudentUserID = "to_student_user_id"
	ToMobile        = "to_mobile"

	AgentID                = "agent_id"
	Safe                   = "safe"
	EnableIDTrans          = "enable_id_trans"
	EnableDuplicateCheck   = "enable_duplicate_check"
	DuplicateCheckInterval = "duplicate_check_interval"
	ChatID                 = "chat_id"
	ToAll                  = "to_all"
	RecvScope              = "recv_scope"
	OpenKfID               = "open_kf_id"
	MsgID                  = "msg_id"

	AllUser = "@all"

	AtUser   = "at_user"
	AtMobile = "at_mobile"
	IsAtAll  = "is_at_all"

	IsRaw = "raw"
)

Variables

View Source
var ErrWeixinAccessToken = errors.New("flags in the group [access_token app_id] required set one")
View Source
var ErrWeixinWorkAccessToken = errors.New("flags in the group [access_token corp_id] required set one")

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