toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-rest
/
dev.kord.rest.service
/
InviteService
Invite
Service
class
InviteService
(
requestHandler
:
RequestHandler
)
:
RestService
(
source
)
Members
Constructors
Invite
Service
Link copied to clipboard
constructor
(
requestHandler
:
RequestHandler
)
Functions
delete
Invite
Link copied to clipboard
suspend
fun
deleteInvite
(
code
:
String
,
reason
:
String
?
=
null
)
:
DiscordInvite
get
Invite
Link copied to clipboard
suspend
fun
getInvite
(
code
:
String
,
withCounts
:
Boolean
?
=
null
,
withExpiration
:
Boolean
?
=
null
,
guildScheduledEventId
:
Snowflake
?
=
null
)
:
DiscordInvite