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

Method getBasicGroupChatId

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

Source from the content-addressed store, hash-verified

480 const channel = await resolveChannelInput(client, group);
481 const res: any = await client.invoke(
482 new Api.channels.GetParticipant({
483 channel: channel as any,
484 participant: new Api.InputPeerUser({
485 userId: bigInt(userId),
486 accessHash: bigInt(0),
487 }),

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected