MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / longToString

Function longToString

tmp_admin/tmp_admin.ts:224–229  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

222}
223
224function serializeChannel(channel: any): StoredChannel {
225 if (
226 channel?.className !== "InputPeerChannel" &&
227 channel?.className !== "InputChannel"
228 ) {
229 throw new Error(`不支持持久化当前对话实体: ${channel?.className || "unknown"}`);
230 }
231
232 return {

Callers 2

serializeChannelFunction · 0.85
serializeUserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected