Kotlin Mattermost Client
Toggle table of contents
0.0.1
common
Target filter
common
Switch theme
Search in API
Skip to content
Kotlin Mattermost Client
mattermost-client
/
dev.limebeck.mattermost.types.internal
/
Post
Post
@
Serializable
data
class
Post
(
val
channelId
:
ChannelId
,
val
message
:
String
,
val
userId
:
UserId
,
val
props
:
JsonObject
?
=
null
,
val
fileIds
:
List
<
String
>
?
=
null
,
val
metadata
:
PostMetadata
?
=
null
)
Members
Constructors
Post
Link copied to clipboard
constructor
(
channelId
:
ChannelId
,
message
:
String
,
userId
:
UserId
,
props
:
JsonObject
?
=
null
,
fileIds
:
List
<
String
>
?
=
null
,
metadata
:
PostMetadata
?
=
null
)
Properties
channel
Id
Link copied to clipboard
@
SerialName
(
value
=
"channel_id"
)
val
channelId
:
ChannelId
file
Ids
Link copied to clipboard
@
SerialName
(
value
=
"file_ids"
)
val
fileIds
:
List
<
String
>
?
message
Link copied to clipboard
val
message
:
String
metadata
Link copied to clipboard
val
metadata
:
PostMetadata
?
props
Link copied to clipboard
val
props
:
JsonObject
?
user
Id
Link copied to clipboard
@
SerialName
(
value
=
"user_id"
)
val
userId
:
UserId