📅  最后修改于: 2022-03-11 15:03:58.658000             🧑  作者: Mango
// Create an invite to a channel
channel.createInvite()
.then(invite => console.log(`Created an invite with a code of ${invite.code}`))
.catch(console.error);