decord/stable/source/modules/channel/native/ChannelActionSheetUtils.tsx
github-actions 528a3dd5ba chore: update source for stable 345.9
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4745.js (118.4 MB)
2026-09-18 20:18:48 +00:00

19 lines
741 B
TypeScript

// Module ID: 10960
// Function ID: 10961
// Name: ChannelActionSheetUtils
// Dependencies: [4705, 7190, 4258, 2]
// Exports: copyGuildChannelOrThreadLink
// Module 10960 (ChannelActionSheetUtils)
import ToastUtils from "ToastUtils" /* 4258 */;
import ChannelUtils from "ChannelUtils" /* 4705 */;
import ClipboardUtils from "ClipboardUtils" /* 7190 */;
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();
};