decord/source/modules/channel/native/ChannelActionSheetUtils.tsx

20 lines
741 B
TypeScript
Raw Normal View History

// Module ID: 11087
// Function ID: 11088
// Name: ChannelActionSheetUtils
// Dependencies: [4781, 7292, 4334, 2]
2026-07-20 16:05:17 +00:00
// Exports: copyGuildChannelOrThreadLink
// Module 11087 (ChannelActionSheetUtils)
import ToastUtils from "ToastUtils" /* 4334 */;
import ChannelUtils from "ChannelUtils" /* 4781 */;
import ClipboardUtils from "ClipboardUtils" /* 7292 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +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) {
const channelPermalink = ChannelUtils.getChannelPermalink(guild_id, id);
ClipboardUtils.copy(channelPermalink);
ToastUtils.presentLinkCopied();
2026-07-20 16:05:17 +00:00
};