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

Function getJobKey

tmp_admin/tmp_admin.ts:211–213  ·  view source on GitHub ↗
(chatKey: string, userId: number)

Source from the content-addressed store, hash-verified

209 return !!((msg as any).replyToMsgId || (msg as any).replyTo?.replyToMsgId);
210}
211
212function getTargetSourceMessage(msg: Api.Message, trigger?: Api.Message): Api.Message {
213 if (trigger && messageHasReply(trigger)) return trigger;
214 return msg;
215}
216

Callers 2

addTemporaryAdminMethod · 0.85
removeTemporaryAdminMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected