semilimes mcu sdk 0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
p2p_reaction_remove.h
1#ifndef _p2p_reaction_remove_
2#define _p2p_reaction_remove_
3
4#include "../defines.h"
5
7{
8private:
9 SmeJson json_data;
10 char** pjson;
11
12public:
13// Function: P2pReactionRemove
14
15// This endpoint allows the account to remove a reaction from a specific message in a p2p Chat.
16
17// Prototype:
18// void P2pReactionRemove(char* json);
19
20// Parameters:
22
23// Returns:
26 {
27 pjson = &json;
28 json_data.initJson(*pjson);
29 }
30
31// Function: P2pReactionRemove.setObj
32
33// This endpoint allows the account to remove a reaction from a specific message in a p2p Chat.
34
35// Prototype:
36// void setObj(char* messageId, char* reaction);
37
38// Parameters:
41
42// Returns:
44 void setObj(char* messageId, char* reaction);
45
46// Function: P2pReactionRemove.getEPurl
47
48// provides the full url for this endpoint
49
50// Prototype:
51// char* getEPurl();
52
53// Parameters:
54
55// Returns:
57 char* getEPurl();
58};
59
60#endif
Definition p2p_reaction_remove.h:7
char * getEPurl()
Definition p2p_reaction_remove.cpp:36
P2pReactionRemove(char *json)
Definition p2p_reaction_remove.h:25
void setObj(char *messageId, char *reaction)
Definition p2p_reaction_remove.cpp:17