decord/beta/source/modules/channel/native/ChannelActionSheetUtils.tsx
github-actions 30c0bb2ec3 chore: update source for beta 347.10
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4975.js (118.4 MB)
2026-09-24 16:03:38 +00:00

19 lines
741 B
TypeScript

// Module ID: 11298
// Function ID: 11299
// Name: ChannelActionSheetUtils
// Dependencies: [4935, 7468, 4489, 2]
// Exports: copyGuildChannelOrThreadLink
// Module 11298 (ChannelActionSheetUtils)
import ToastUtils from "ToastUtils" /* 4489 */;
import ChannelUtils from "ChannelUtils" /* 4935 */;
import ClipboardUtils from "ClipboardUtils" /* 7468 */;
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();
};