decord/alpha/source/modules/channel/native/ChannelActionSheetUtils.tsx
github-actions e160b228c5 chore: update source for alpha 348.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4942.js (118.4 MB)
2026-09-22 07:41:18 +00:00

19 lines
741 B
TypeScript

// Module ID: 11227
// Function ID: 11228
// Name: ChannelActionSheetUtils
// Dependencies: [4902, 7436, 4454, 2]
// Exports: copyGuildChannelOrThreadLink
// Module 11227 (ChannelActionSheetUtils)
import ToastUtils from "ToastUtils" /* 4454 */;
import ChannelUtils from "ChannelUtils" /* 4902 */;
import ClipboardUtils from "ClipboardUtils" /* 7436 */;
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();
};