decord/alpha/source/modules/channel/native/ChannelActionSheetUtils.tsx
github-actions f95a0071ef chore: update source for alpha 349.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
2026-09-29 09:27:02 +00:00

19 lines
741 B
TypeScript

// Module ID: 10587
// Function ID: 10588
// Name: ChannelActionSheetUtils
// Dependencies: [4981, 6776, 4527, 2]
// Exports: copyGuildChannelOrThreadLink
// Module 10587 (ChannelActionSheetUtils)
import ToastUtils from "ToastUtils" /* 4527 */;
import ChannelUtils from "ChannelUtils" /* 4981 */;
import ClipboardUtils from "ClipboardUtils" /* 6776 */;
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();
};