2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 11087
|
|
|
|
|
// Function ID: 11088
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: ChannelActionSheetUtils
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [4781, 7292, 4334, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: copyGuildChannelOrThreadLink
|
|
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 11087 (ChannelActionSheetUtils)
|
|
|
|
|
import ToastUtils from "ToastUtils" /* 4334 */;
|
|
|
|
|
import ChannelUtils from "ChannelUtils" /* 4781 */;
|
|
|
|
|
import ClipboardUtils from "ClipboardUtils" /* 7292 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/channel/native/ChannelActionSheetUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const copyGuildChannelOrThreadLink = function copyGuildChannelOrThreadLink(guild_id, id) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const channelPermalink = ChannelUtils.getChannelPermalink(guild_id, id);
|
|
|
|
|
ClipboardUtils.copy(channelPermalink);
|
|
|
|
|
ToastUtils.presentLinkCopied();
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|