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

Method editMessage

clean/clean.ts:477–483  ·  view source on GitHub ↗
(msg: Api.Message, text: string)

Source from the content-addressed store, hash-verified

475 bannedUsers.forEach((entity: any) => {
476 if (entity.type === 'user') entityStats.users++;
477 else if (entity.type === 'channel') entityStats.channels++;
478 else if (entity.type === 'chat') entityStats.chats++;
479 });
480
481 let successCount = 0, failedCount = 0;
482 const failedEntities: string[] = [];
483
484 for (const entity of bannedUsers) {
485 const success = await unbanUser(client, chatEntity, entity.id);
486 if (success) {

Callers 15

handleCleanMethod · 0.95
cleanDeletedPMMethod · 0.95
cleanDeletedMemberMethod · 0.95
cleanBlockedPMMethod · 0.95
unblockMemberMethod · 0.95
sendErrorMethod · 0.95
handleErrorMethod · 0.95
handleFloodWaitMethod · 0.95
updateBlockedProgressMethod · 0.95
statusCallbackFunction · 0.80
clean_memberFunction · 0.80
editProgressFunction · 0.80

Calls 2

errorMethod · 0.80
editMethod · 0.45

Tested by

no test coverage detected