![]() |
Delta Chat Core C Interface
|
These constants describe the type of a chat. More...
Macros | |
| #define | DC_CHAT_TYPE_GROUP 120 |
| A group chat. | |
| #define | DC_CHAT_TYPE_IN_BROADCAST 165 |
| Incoming broadcast channel, called "Channel" in the UI. | |
| #define | DC_CHAT_TYPE_MAILINGLIST 140 |
| A mailing list. | |
| #define | DC_CHAT_TYPE_OUT_BROADCAST 160 |
| Outgoing broadcast channel, called "Channel" in the UI. | |
| #define | DC_CHAT_TYPE_SINGLE 100 |
| A one-to-one chat with a single contact. | |
| #define | DC_CHAT_TYPE_UNDEFINED 0 |
| Undefined chat type. | |
These constants describe the type of a chat.
The chat type can be retrieved using dc_chat_get_type() and the type does not change during the chat's lifetime.
| #define DC_CHAT_TYPE_GROUP 120 |
A group chat.
See dc_chat_get_type() for details.
| #define DC_CHAT_TYPE_IN_BROADCAST 165 |
Incoming broadcast channel, called "Channel" in the UI.
This chat is read-only, and we do not know who the other recipients are.
This is similar to DC_CHAT_TYPE_MAILINGLIST, with the main difference being that broadcasts are encrypted.
Called broadcast here rather than channel, because the word "channel" already appears a lot in the code, which would make it hard to grep for it.
| #define DC_CHAT_TYPE_MAILINGLIST 140 |
A mailing list.
See dc_chat_get_type() for details.
| #define DC_CHAT_TYPE_OUT_BROADCAST 160 |
Outgoing broadcast channel, called "Channel" in the UI.
The user can send into this chat, and all recipients will receive messages in a DC_CHAT_TYPE_IN_BROADCAST.
Called broadcast here rather than channel, because the word "channel" already appears a lot in the code, which would make it hard to grep for it.
| #define DC_CHAT_TYPE_SINGLE 100 |
A one-to-one chat with a single contact.
See dc_chat_get_type() for details.
| #define DC_CHAT_TYPE_UNDEFINED 0 |
Undefined chat type.
Normally, this type is not returned.