Tchatator413
TripEnArvor instant messaging protocol - JSON-based
|
Represents a message in the chat application. More...
#include <types.h>
Data Fields | |
char * | content |
time_t | sent_at |
int32_t | read_age |
int32_t | edited_age |
int32_t | deleted_age |
serial_t | id |
serial_t | user_id_sender |
serial_t | user_id_recipient |
Represents a message in the chat application.
This struct contains the necessary information to represent a message, including the message content, the time it was sent, and various ages related to the message's read, edit, and deletion status. It also includes the IDs of the sender and recipient of the message.