sessionkey

package
v0.6.52 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(receiveIDType, receiveID string) string

func ExtractSeedMessageID added in v0.6.49

func ExtractSeedMessageID(sessionKey string) string

ExtractSeedMessageID returns the seed message ID (om_xxx) embedded in a session key as a "|seed:om_xxx" token, or empty string if none is present. The seed is the root/anchor message of a Feishu work-thread session; it can be used with the Reply API (reply_in_thread=true) to continue the thread.

func ExtractThreadID added in v0.6.48

func ExtractThreadID(sessionKey string) string

ExtractThreadID returns the Feishu thread ID (omt_xxx) embedded in a session key as a "|thread:omt_xxx" token, or empty string if none is present.

func VisibilityKey

func VisibilityKey(sessionKey string) string

func WithoutMessage

func WithoutMessage(sessionKey string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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