Message

constructor(    id: String = "",     cid: String = "",     text: String = "",     html: String = "",     parentId: String? = null,     command: String? = null,     attachments: List<Attachment> = listOf(),     mentionedUsersIds: List<String> = listOf(),     mentionedUsers: List<User> = listOf(),     replyCount: Int = 0,     deletedReplyCount: Int = 0,     reactionCounts: Map<String, Int> = mapOf(),     reactionScores: Map<String, Int> = mapOf(),     reactionGroups: Map<String, ReactionGroup> = mapOf(),     syncStatus: SyncStatus = SyncStatus.COMPLETED,     type: String = "",     latestReactions: List<Reaction> = listOf(),     ownReactions: List<Reaction> = listOf(),     createdAt: Date? = null,     updatedAt: Date? = null,     deletedAt: Date? = null,     updatedLocallyAt: Date? = null,     createdLocallyAt: Date? = null,     user: User = User(),     extraData: Map<String, Any> = mapOf(),     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(),     skipPushNotification: Boolean = false,     skipEnrichUrl: Boolean = false,     moderationDetails: MessageModerationDetails? = null,     moderation: Moderation? = null,     messageTextUpdatedAt: Date? = null,     poll: Poll? = null,     restrictedVisibility: List<String> = emptyList())