2026-09-15 14:23:42 +00:00
|
|
|
// Module ID: 11092
|
|
|
|
|
// Function ID: 11093
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: ChannelActionSheetUtils
|
2026-09-15 14:23:42 +00:00
|
|
|
// Dependencies: [4784, 7296, 4337, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: copyGuildChannelOrThreadLink
|
|
|
|
|
|
2026-09-15 14:23:42 +00:00
|
|
|
// Module 11092 (ChannelActionSheetUtils)
|
|
|
|
|
import ToastUtils from "ToastUtils" /* 4337 */;
|
|
|
|
|
import ChannelUtils from "ChannelUtils" /* 4784 */;
|
|
|
|
|
import ClipboardUtils from "ClipboardUtils" /* 7296 */;
|
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
|
|
|
};
|