decord/alpha/source/modules/channel/native/ChannelActionSheetUtils.tsx
github-actions c6aa9eb120 chore: update source for alpha 349.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5030.js (118.4 MB)
2026-10-01 06:55:13 +00:00

19 lines
741 B
TypeScript

// Module ID: 10613
// Function ID: 10614
// Name: ChannelActionSheetUtils
// Dependencies: [4990, 6796, 4556, 2]
// Exports: copyGuildChannelOrThreadLink
// Module 10613 (ChannelActionSheetUtils)
import ToastUtils from "ToastUtils" /* 4556 */;
import ChannelUtils from "ChannelUtils" /* 4990 */;
import ClipboardUtils from "ClipboardUtils" /* 6796 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/channel/native/ChannelActionSheetUtils.tsx");
export const copyGuildChannelOrThreadLink = function copyGuildChannelOrThreadLink(guild_id, id) {
const channelPermalink = ChannelUtils.getChannelPermalink(guild_id, id);
ClipboardUtils.copy(channelPermalink);
ToastUtils.presentLinkCopied();
};