schemas/message_shema library

Functions

messageSchema({required String content, required String autoMessageId, required bool isSender, required List<Map<String, dynamic>> reaction, required bool distributed, required bool seen, List<Map<String, String>>? attachments}) Map<String, dynamic>
Represents the schema for a message in the conversation.