Documentation
¶
Index ¶
Constants ¶
const MessageToken = messageToken
Variables ¶
This section is empty.
Functions ¶
func ExtractSeedMessageID ¶ added in v0.6.49
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
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 ThreadScope ¶ added in v0.6.64
ThreadScope returns an opaque string that identifies the specific conversation thread within a session key, or empty string if the session key does not contain thread-identifying information.
Two session keys that share the same VisibilityKey but have different (non-empty) ThreadScope values belong to independent threads; an active session in one thread must not be treated as blocking a task targeting another thread.
Precedence: seed token > thread token > empty (plain group/DM session).
func VisibilityKey ¶
func WithoutMessage ¶
Types ¶
This section is empty.