Message

fun Message(    id: String = "",     cid: String = "",     text: String = "",     html: String = "",     parentId: String? = null,     command: String? = null,     attachments: MutableList<Attachment> = mutableListOf(),     mentionedUsersIds: MutableList<String> = mutableListOf(),     mentionedUsers: MutableList<User> = mutableListOf(),     replyCount: Int = 0,     reactionCounts: MutableMap<String, Int> = mutableMapOf(),     reactionScores: MutableMap<String, Int> = mutableMapOf(),     syncStatus: SyncStatus = SyncStatus.COMPLETED,     syncDescription: MessageSyncDescription? = null,     type: String = "",     latestReactions: MutableList<Reaction> = mutableListOf(),     ownReactions: MutableList<Reaction> = mutableListOf(),     createdAt: Date? = null,     updatedAt: Date? = null,     deletedAt: Date? = null,     updatedLocallyAt: Date? = null,     createdLocallyAt: Date? = null,     user: User = User(),     extraData: MutableMap<String, Any> = mutableMapOf(),     silent: Boolean = false,     shadowed: Boolean = false,     i18n: Map<String, String> = mapOf(),     showInChannel: Boolean = false,     channelInfo: ChannelInfo? = null,     replyTo: Message? = null,     replyMessageId: String? = null,     pinned: Boolean = false,     pinnedAt: Date? = null,     pinExpires: Date? = null,     pinnedBy: User? = null,     threadParticipants: List<User> = emptyList())