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

Method getBasicGroupChatId

aban/aban.ts:736–739  ·  view source on GitHub ↗
(chatId: any)

Source from the content-addressed store, hash-verified

734 const me = await safeGetMe(client);
735 if (!me) return false;
736 if (this.getChatKind(chatId) === 'chat') {
737 const participants = await this.getBasicGroupParticipants(client, chatId);
738 if (!participants) {
739 return false;
740 }
741
742 const meParticipant = participants.find((p: any) => Number(p?.userId) === Number((me as any).id));

Callers 2

applyBanLikeActionMethod · 0.95
buildRequestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected