diskord
5.2.0
common
diskord-core
/
com.jessecorbett.diskord.api.common
/
DMChannel
DMChannel
@
Serializable
@
SerialName
(
value
=
"1"
)
data
class
DMChannel
(
val
id
:
String
,
val
lastMessageId
:
String
?
,
val
recipients
:
List
<
User
>
,
val
ownerId
:
String
?
=
null
,
val
lastPinTime
:
String
?
=
null
)
:
Channel
,
DM
(
source
)
Members
Constructors
DMChannel
Link copied to clipboard
constructor
(
id
:
String
,
lastMessageId
:
String
?
,
recipients
:
List
<
User
>
,
ownerId
:
String
?
=
null
,
lastPinTime
:
String
?
=
null
)
Properties
id
Link copied to clipboard
@
SerialName
(
value
=
"id"
)
open
override
val
id
:
String
last
Message
Id
Link copied to clipboard
@
SerialName
(
value
=
"last_message_id"
)
open
override
val
lastMessageId
:
String
?
last
Pin
Time
Link copied to clipboard
@
SerialName
(
value
=
"last_pin_timestamp"
)
open
override
val
lastPinTime
:
String
?
=
null
owner
Id
Link copied to clipboard
@
SerialName
(
value
=
"owner_id"
)
open
override
val
ownerId
:
String
?
=
null
recipients
Link copied to clipboard
@
SerialName
(
value
=
"recipients"
)
open
override
val
recipients
:
List
<
User
>