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

Method collectDialogs

aban/aban.ts:613–620  ·  view source on GitHub ↗
(params: Record<string, any>)

Source from the content-addressed store, hash-verified

611 });
612 }
613 // 兜底:让 teleproto 走自己的 entity cache / dialogs 解析
614 return await client.getInputEntity(group.id);
615}
616
617/**
618 * 把 ManagedGroup 转成 PermissionManager 那一组方法能识别的 chatId。
619 * - channel:返回 InputChannel(带 accessHash),走 Api.channels.GetParticipant
620 * - basic group:返回 PeerChat-like 对象,让 getChatKind/getBasicGroupChatId 走 chat 路径
621 */
622async function resolvePermissionTarget(
623 client: TelegramClient,

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected