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

Function getGroupKey

shift/shift.ts:599–606  ·  view source on GitHub ↗
(message: any)

Source from the content-addressed store, hash-verified

597 fromChatId: number,
598 toChatId: number,
599 messageIds: number[],
600 options?: { silent?: boolean; replyTo?: number }
601): Promise<void> {
602 try {
603 const fromEntity = await getEntityWithHash(client, fromChatId);
604 const toEntity = await getEntityWithHash(client, toChatId);
605 await client.invoke(
606 new Api.messages.ForwardMessages({
607 fromPeer: fromEntity,
608 id: messageIds,
609 toPeer: toEntity,

Callers 1

enqueueGroupMessageFunction · 0.85

Calls 1

getChatIdFromMessageFunction · 0.85

Tested by

no test coverage detected