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

Function toSendPeer

tmp_admin/tmp_admin.ts:280–289  ·  view source on GitHub ↗
(channel: any)

Source from the content-addressed store, hash-verified

278 accessHash: channel.accessHash,
279 });
280 }
281 return channel;
282}
283
284function hasNonOtherAdminRights(rights?: any): boolean {
285 if (!rights) return false;
286 return adminRightKeys.some((key) => !!rights[key]);
287}
288
289function isTemporaryAdminParticipant(participant?: any): boolean {
290 return (
291 participant instanceof Api.ChannelParticipantAdmin &&
292 (participant as any).rank === tempTitle &&

Callers 1

restoreJobsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected