Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
19 lines
741 B
TypeScript
19 lines
741 B
TypeScript
// Module ID: 10987
|
|
// Function ID: 10988
|
|
// Name: ChannelActionSheetUtils
|
|
// Dependencies: [4719, 7203, 4271, 2]
|
|
// Exports: copyGuildChannelOrThreadLink
|
|
|
|
// Module 10987 (ChannelActionSheetUtils)
|
|
import ToastUtils from "ToastUtils" /* 4271 */;
|
|
import ChannelUtils from "ChannelUtils" /* 4719 */;
|
|
import ClipboardUtils from "ClipboardUtils" /* 7203 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("modules/channel/native/ChannelActionSheetUtils.tsx");
|
|
|
|
export const copyGuildChannelOrThreadLink = function copyGuildChannelOrThreadLink(guild_id, id) {
|
|
const channelPermalink = ChannelUtils.getChannelPermalink(guild_id, id);
|
|
ClipboardUtils.copy(channelPermalink);
|
|
ToastUtils.presentLinkCopied();
|
|
};
|