2026-09-11 19:12:58 +00:00
|
|
|
// Module ID: 11048
|
|
|
|
|
// Function ID: 11049
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: ChannelActionSheetUtils
|
2026-09-11 19:12:58 +00:00
|
|
|
// Dependencies: [4751, 7262, 4304, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: copyGuildChannelOrThreadLink
|
|
|
|
|
|
2026-09-11 19:12:58 +00:00
|
|
|
// Module 11048 (ChannelActionSheetUtils)
|
2026-09-11 10:30:06 +00:00
|
|
|
import ToastUtils from "ToastUtils" /* 4304 */;
|
2026-09-11 19:12:58 +00:00
|
|
|
import ChannelUtils from "ChannelUtils" /* 4751 */;
|
|
|
|
|
import ClipboardUtils from "ClipboardUtils" /* 7262 */;
|
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
|
|
|
};
|