![]() |
Delta Chat Core C Interface
|
#include <deltachat.h>
Public Member Functions | |
char * | dc_reactions_get_by_contact_id (dc_reactions_t *reactions, uint32_t contact_id) |
Returns a string containing space-separated reactions of a single contact. | |
dc_array_t * | dc_reactions_get_contacts (dc_reactions_t *reactions) |
Returns array of contacts which reacted to the given message. | |
void | dc_reactions_unref (dc_reactions_t *reactions) |
Frees an object containing message reactions. | |
get_message_reactions
insteadAn object representing all reactions for a single message.
char * dc_reactions_get_by_contact_id | ( | dc_reactions_t * | reactions, |
uint32_t | contact_id ) |
Returns a string containing space-separated reactions of a single contact.
get_message_reactions
insteadreactions | The object containing message reactions. |
contact_id | ID of the contact. |
dc_array_t * dc_reactions_get_contacts | ( | dc_reactions_t * | reactions | ) |
Returns array of contacts which reacted to the given message.
get_message_reactions
insteadreactions | The object containing message reactions. |
dc_array_unref()
after usage. void dc_reactions_unref | ( | dc_reactions_t * | reactions | ) |
Frees an object containing message reactions.
Reactions objects are created by dc_get_msg_reactions().
reactions | The object to free. If NULL is given, nothing is done. |