26 lines
2.1 KiB
TypeScript
26 lines
2.1 KiB
TypeScript
/* Metro module 14866; source: modules/content_inventory/reactionUtils.tsx; dependencies: [7076, 7067, 2] */
|
|
function _fun112449(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#112449, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15063:6, offset: 0x023cc04e, size: 114 bytes, params: 8, frame: 17
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/content_inventory/reactionUtils.tsx');
|
|
exports.sendMessageWithEmbed = sendMessageWithEmbed;
|
|
exports.sendMessageWithoutContentInventoryEntry = sendMessageWithoutContentInventoryEntry;
|
|
}
|
|
|
|
function sendMessageWithEmbed({channel, content, entry, whenReady, doNotNotifyOnError, location}) { // fn#112450, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15063:192, offset: 0x023cc0c0, size: 132 bytes, params: 2, frame: 22
|
|
let value = importDefault(7076) /* metro dependency 7076: MessageParser */;
|
|
value = value.parse(channel, content);
|
|
const defaultImport = importDefault(7067) /* metro dependency 7067: MessageActionCreators */;
|
|
return defaultImport.sendMessage(channel.id, value, whenReady, {contentInventoryEntry: {unverified_content: entry},
|
|
doNotNotifyOnError: doNotNotifyOnError, location: location});
|
|
}
|
|
|
|
function sendMessageWithoutContentInventoryEntry({channel, content, whenReady, doNotNotifyOnError, location}) { // fn#112451, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15063:481, offset: 0x023cc144, size: 112 bytes, params: 2, frame: 21
|
|
let value = importDefault(7076) /* metro dependency 7076: MessageParser */;
|
|
value = value.parse(channel, content);
|
|
const defaultImport = importDefault(7067) /* metro dependency 7067: MessageActionCreators */;
|
|
return defaultImport.sendMessage(channel.id, value, whenReady, {doNotNotifyOnError: doNotNotifyOnError,
|
|
location: location});
|
|
}
|
|
|