Delta Chat Core C Interface
Macros
DC_STATE

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. More...

Macros

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

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.