Files
discord-decomp/sources/modules/instant_invite/native/InstantInviteConstants.tsx
T
2026-07-27 16:20:00 +03:00

39 lines
1.7 KiB
TypeScript

/* Metro module 9157; source: modules/instant_invite/native/InstantInviteConstants.tsx; dependencies: [2] */
function _fun71805(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#71805, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9342:6, offset: 0x01d2d8c4, size: 276 bytes, params: 8, frame: 17
var object3;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
object3 = {TWITTER: 'twitter', WHATSAPP: 'whatsapp', GMAIL: 'googlegmail', LINE: 'line', MESSENGER: 'fb-messenger',
TELEGRAM: 'tg'};
const object4 = {};
const TWITTER = object3.TWITTER;
object4[TWITTER] = function(a0) {
return 'twitter://post?message=' + a0;
};
const WHATSAPP = object3.WHATSAPP;
object4[WHATSAPP] = function(a0) {
return 'whatsapp://send?text=' + a0;
};
const GMAIL = object3.GMAIL;
object4[GMAIL] = function(a0, a1) {
return 'googlegmail://co?subject=' + a0 + '&body=' + a1;
};
const LINE = object3.LINE;
object4[LINE] = function(a0) {
return 'https://line.me/R/msg/text/?' + a0;
};
const MESSENGER = object3.MESSENGER;
object4[MESSENGER] = function(a0) {
return 'fb-messenger://share/?link=' + a0;
};
const TELEGRAM = object3.TELEGRAM;
object4[TELEGRAM] = function(a0, a1) {
return 'https://telegram.me/share/url?url=' + a1 + '&text=' + a0;
};
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/instant_invite/native/InstantInviteConstants.tsx');
exports.SHARE_APPS_KEY = object3;
exports.SHARE_URLS = object4;
exports.IOS_COPY_TO_PASTEBOARD = 'CopyToPasteboard';
}