model/chat_message_model library
Classes
- ChatMessageModel
- Represents a chat message.
- ContactChatMessage
- Represents a contact chat message.
- LocationChatMessage
- Represents a location chat message.
- MediaChatMessage
- Represents a media chat message.
- MessageCustomField
- Represents a custom field of a message.
- MessageStatus
- Represents the status of a message.
- ReplyParentChatMessage
- Represents a parent chat message for a reply message.
Functions
-
chatMessageModelFromJson(
String str) → List< ChatMessageModel> - Converts a JSON string into a list of ChatMessageModel objects.
-
chatMessageModelToJson(
List< ChatMessageModel> data) → String - Converts a list of ChatMessageModel objects into a JSON string.
-
sendMessageModelFromJson(
String str) → ChatMessageModel - Converts a JSON string into a ChatMessageModel object.
-
sendMessageModelToJson(
ChatMessageModel data) → String - Converts a ChatMessageModel object into a JSON string.