diskord
5.2.0
common
diskord-core
/
com.jessecorbett.diskord.api.gateway.events
/
GuildInviteCreate
Guild
Invite
Create
@
Serializable
data
class
GuildInviteCreate
(
val
channelId
:
String
,
val
code
:
String
,
val
createdAt
:
String
,
val
guildId
:
String
?
=
null
,
val
inviter
:
User
?
=
null
,
val
validForSeconds
:
Long
,
val
targetUser
:
User
?
=
null
,
val
targetUserType
:
Int
?
=
null
,
val
temporary
:
Boolean
,
val
uses
:
Int
)
(
source
)
Members
Constructors
Guild
Invite
Create
Link copied to clipboard
constructor
(
channelId
:
String
,
code
:
String
,
createdAt
:
String
,
guildId
:
String
?
=
null
,
inviter
:
User
?
=
null
,
validForSeconds
:
Long
,
targetUser
:
User
?
=
null
,
targetUserType
:
Int
?
=
null
,
temporary
:
Boolean
,
uses
:
Int
)
Properties
channel
Id
Link copied to clipboard
@
SerialName
(
value
=
"channel_id"
)
val
channelId
:
String
code
Link copied to clipboard
@
SerialName
(
value
=
"code"
)
val
code
:
String
created
At
Link copied to clipboard
@
SerialName
(
value
=
"created_at"
)
val
createdAt
:
String
guild
Id
Link copied to clipboard
@
SerialName
(
value
=
"guild_id"
)
val
guildId
:
String
?
=
null
inviter
Link copied to clipboard
@
SerialName
(
value
=
"inviter"
)
val
inviter
:
User
?
=
null
target
User
Link copied to clipboard
@
SerialName
(
value
=
"target_user"
)
val
targetUser
:
User
?
=
null
target
User
Type
Link copied to clipboard
@
SerialName
(
value
=
"target_user_type"
)
val
targetUserType
:
Int
?
=
null
temporary
Link copied to clipboard
@
SerialName
(
value
=
"temporary"
)
val
temporary
:
Boolean
uses
Link copied to clipboard
@
SerialName
(
value
=
"uses"
)
val
uses
:
Int
valid
For
Seconds
Link copied to clipboard
@
SerialName
(
value
=
"max_age"
)
val
validForSeconds
:
Long