decord/alpha/source/modules/channel/native/ChannelActionSheetUtils.tsx
github-actions 72019a2d0c chore: update source for alpha 348.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-25 08:38:05 +00:00

19 lines
741 B
TypeScript

// Module ID: 10407
// Function ID: 10408
// Name: ChannelActionSheetUtils
// Dependencies: [4974, 6605, 4524, 2]
// Exports: copyGuildChannelOrThreadLink
// Module 10407 (ChannelActionSheetUtils)
import ToastUtils from "ToastUtils" /* 4524 */;
import ChannelUtils from "ChannelUtils" /* 4974 */;
import ClipboardUtils from "ClipboardUtils" /* 6605 */;
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();
};