im

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package im registers IM-domain EventKeys.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Keys

func Keys() []event.KeyDefinition

Keys returns all IM-domain EventKey definitions.

Types

type ImMessageReceiveOutput

type ImMessageReceiveOutput struct {
	Type        string `json:"type"                   desc:"Event type; always im.message.receive_v1"`
	EventID     string `json:"event_id,omitempty"     desc:"Globally unique event ID; safe for deduplication"`
	Timestamp   string `` /* 235-byte string literal not displayed */
	ID          string `` /* 234-byte string literal not displayed */
	MessageID   string `` /* 234-byte string literal not displayed */
	CreateTime  string `` /* 236-byte string literal not displayed */
	ChatID      string `` /* 231-byte string literal not displayed */
	ChatType    string `` /* 233-byte string literal not displayed */
	MessageType string `json:"message_type,omitempty" desc:"Message type"`
	SenderID    string `` /* 231-byte string literal not displayed */
	Content     string `` /* 240-byte string literal not displayed */
}

ImMessageReceiveOutput is the flattened shape for im.message.receive_v1; `desc` tags drive the reflected schema.

Jump to

Keyboard shortcuts

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