application

package
v1.0.73 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package application registers Application-domain EventKeys.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Keys

func Keys() []event.KeyDefinition

Keys returns all Application-domain EventKey definitions.

Types

type BotMenuOutput

type BotMenuOutput struct {
	Type            string `json:"type"                         desc:"Event type; always application.bot.menu_v6"`
	EventID         string `json:"event_id,omitempty"           desc:"Globally unique event ID; safe for deduplication"`
	Timestamp       string `` /* 132-byte string literal not displayed */
	AppID           string `json:"app_id,omitempty"             desc:"Application ID from the event header"`
	TenantKey       string `json:"tenant_key,omitempty"         desc:"Tenant key from the event header"`
	EventKey        string `json:"event_key,omitempty"          desc:"Developer-defined bot menu event key"`
	MenuTimestamp   string `` /* 129-byte string literal not displayed */
	OperatorID      string `json:"operator_id,omitempty"        desc:"Operator open_id; kept as a short alias of operator_open_id"        kind:"open_id"`
	OperatorOpenID  string `json:"operator_open_id,omitempty"   desc:"Operator open_id"                                                   kind:"open_id"`
	OperatorUnionID string `json:"operator_union_id,omitempty"  desc:"Operator union_id"                                                  kind:"union_id"`
	OperatorUserID  string `json:"operator_user_id,omitempty"   desc:"Operator user_id"                                                   kind:"user_id"`
	OperatorName    string `json:"operator_name,omitempty"      desc:"Operator display name"`
}

BotMenuOutput is the flattened shape for application.bot.menu_v6.

Jump to

Keyboard shortcuts

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