Delta Chat Core C Interface
Loading...
Searching...
No Matches
Macros
DC_STATE

Macros

#define DC_STATE_IN_FRESH   10
 Incoming fresh message.
 
#define DC_STATE_IN_NOTICED   13
 Incoming noticed message.
 
#define DC_STATE_IN_SEEN   16
 Incoming seen message.
 
#define DC_STATE_OUT_DELIVERED   26
 Outgoing message sent.
 
#define DC_STATE_OUT_DRAFT   19
 Outgoing message drafted.
 
#define DC_STATE_OUT_FAILED   24
 Outgoing message failed sending.
 
#define DC_STATE_OUT_MDN_RCVD   28
 Outgoing message sent and seen by recipients(s).
 
#define DC_STATE_OUT_PENDING   20
 Outgoing message waiting to be sent.
 
#define DC_STATE_OUT_PREPARING   18
 Outgoing message being prepared.
 
#define DC_STATE_UNDEFINED   0
 Message just created.
 

Detailed Description

These constants describe the state of a message. The state can be retrieved using dc_msg_get_state() and may change by various actions reported by various events

Macro Definition Documentation

◆ DC_STATE_IN_FRESH

#define DC_STATE_IN_FRESH   10

Incoming fresh message.

See dc_msg_get_state() for details.

◆ DC_STATE_IN_NOTICED

#define DC_STATE_IN_NOTICED   13

Incoming noticed message.

See dc_msg_get_state() for details.

◆ DC_STATE_IN_SEEN

#define DC_STATE_IN_SEEN   16

Incoming seen message.

See dc_msg_get_state() for details.

◆ DC_STATE_OUT_DELIVERED

#define DC_STATE_OUT_DELIVERED   26

Outgoing message sent.

To check if a mail was actually sent, use dc_msg_is_sent(). See dc_msg_get_state() for details.

◆ DC_STATE_OUT_DRAFT

#define DC_STATE_OUT_DRAFT   19

Outgoing message drafted.

See dc_msg_get_state() for details.

◆ DC_STATE_OUT_FAILED

#define DC_STATE_OUT_FAILED   24

Outgoing message failed sending.

See dc_msg_get_state() for details.

◆ DC_STATE_OUT_MDN_RCVD

#define DC_STATE_OUT_MDN_RCVD   28

Outgoing message sent and seen by recipients(s).

See dc_msg_get_state() for details.

◆ DC_STATE_OUT_PENDING

#define DC_STATE_OUT_PENDING   20

Outgoing message waiting to be sent.

See dc_msg_get_state() for details.

◆ DC_STATE_OUT_PREPARING

#define DC_STATE_OUT_PREPARING   18

Outgoing message being prepared.

See dc_msg_get_state() for details.

◆ DC_STATE_UNDEFINED

#define DC_STATE_UNDEFINED   0

Message just created.

See dc_msg_get_state() for details.