Tchatator413
TripEnArvor instant messaging protocol - JSON-based
Loading...
Searching...
No Matches
Data Fields
msg_t Struct Reference

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
 

Detailed Description

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.

Definition at line 61 of file types.h.

Field Documentation

◆ content

char* msg_t::content

Definition at line 62 of file types.h.

◆ deleted_age

int32_t msg_t::deleted_age

Definition at line 64 of file types.h.

◆ edited_age

int32_t msg_t::edited_age

Definition at line 64 of file types.h.

◆ id

serial_t msg_t::id

Definition at line 65 of file types.h.

◆ read_age

int32_t msg_t::read_age

Definition at line 64 of file types.h.

◆ sent_at

time_t msg_t::sent_at

Definition at line 63 of file types.h.

◆ user_id_recipient

serial_t msg_t::user_id_recipient

Definition at line 65 of file types.h.

◆ user_id_sender

serial_t msg_t::user_id_sender

Definition at line 65 of file types.h.


The documentation for this struct was generated from the following file: