19 lines
709 B
TypeScript
19 lines
709 B
TypeScript
// Metro module 8356 (f8357).
|
|
import ActionSheetActionCreators from "../../../action_sheet/native/ActionSheetActionCreators";
|
|
import { ImpressionNames } from "../../../../_bundle/Module503";
|
|
export default function openInstantInviteActionSheet(a0) {
|
|
const r20 = import("./InstantInviteActionSheet");
|
|
let vanityURLCode = a0.vanityURLCode;
|
|
if (vanityURLCode == null) {
|
|
vanityURLCode = a0.channel.id;
|
|
}
|
|
ActionSheetActionCreators.openLazy(r20, `InstantInviteActionSheet-${vanityURLCode}`, {
|
|
...a0,
|
|
impressionName: ImpressionNames.GUILD_INVITE,
|
|
impressionProperties: {
|
|
invite_channel_id: a0.channel.id,
|
|
invite_guild_id: a0.channel.guild_id
|
|
}
|
|
}, a0.stackingBehavior);
|
|
};
|