2026-07-21 06:55:02 +00:00
|
|
|
// Module ID: 16498
|
|
|
|
|
// Function ID: 127409
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: promise
|
|
|
|
|
// Dependencies: []
|
|
|
|
|
|
2026-07-21 06:55:02 +00:00
|
|
|
// Module 16498 (promise)
|
2026-07-20 16:05:17 +00:00
|
|
|
const NativeModules = require(dependencyMap[0]).NativeModules;
|
|
|
|
|
const _module = require(dependencyMap[4]);
|
|
|
|
|
const result = _module.fileFinishedImporting("modules/headless_tasks/android/GenerateInvite.tsx");
|
|
|
|
|
|
|
|
|
|
export default (channelId) => {
|
|
|
|
|
const importDefault = channelId.channelId;
|
|
|
|
|
return new Promise((arg0) => {
|
|
|
|
|
const channelId = arg0;
|
|
|
|
|
channelId(closure_1[1]).awaitStorage(() => {
|
|
|
|
|
const invite = arg0(closure_1[2]).createInvite(arg0, {}, "Mobile Voice Overlay");
|
|
|
|
|
invite.then((code) => {
|
|
|
|
|
const RNCClipboard = RNCClipboard.RNCClipboard;
|
|
|
|
|
RNCClipboard.setString(callback(closure_1[3])(code.code));
|
|
|
|
|
callback(true);
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
};
|