2026-10-09 10:00:15 +00:00
|
|
|
// Module ID: 10301
|
|
|
|
|
// Function ID: 10302
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: ChannelActionSheetUtils
|
2026-10-09 10:00:15 +00:00
|
|
|
// Dependencies: [5411, 6879, 4767, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: copyGuildChannelOrThreadLink
|
|
|
|
|
|
2026-10-09 10:00:15 +00:00
|
|
|
// Module 10301 (ChannelActionSheetUtils)
|
|
|
|
|
import ToastUtils from "ToastUtils" /* 4767 */;
|
|
|
|
|
import ChannelUtils from "ChannelUtils" /* 5411 */;
|
|
|
|
|
import ClipboardUtils from "ClipboardUtils" /* 6879 */;
|
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-10-03 08:58:59 +00:00
|
|
|
const obj = ChannelUtils;
|
|
|
|
|
const channelPermalink = obj.getChannelPermalink(guild_id, id);
|
|
|
|
|
const obj2 = ClipboardUtils;
|
|
|
|
|
obj2.copy(channelPermalink);
|
|
|
|
|
const obj3 = ToastUtils;
|
|
|
|
|
obj3.presentLinkCopied();
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|