semilimes mcu sdk 0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
groupchats_get.h
1#ifndef _groupchats_get_
2#define _groupchats_get_
3
4#include "../defines.h"
5
7{
8private:
9 SmeJson json_data;
10 char** pjson;
11 char** pjsonArray;
12
13public:
14// Function: GroupchatsGet
15
16// This endpoint retrieves the group chats of the calling user account.
17
18// Prototype:
19// void GroupchatsGet(char* json);
20
21// Parameters:
24
25// Returns:
27 GroupchatsGet(char* json, char* jsonArray)
28 {
29 pjson = &json;
30 pjsonArray = &jsonArray;
31 json_data.initJson(*pjson);
32 json_data.initJsonArray(*pjsonArray);
33 }
34
35// Function: GroupchatsGet.setObj
36
37// This endpoint retrieves the group chats of the calling user account.
38
39// Prototype:
40// void setObj();
41
42// Parameters:
43
44// Returns:
46 void setObj();
47
48// Function: GroupchatsGet.addRecipientIds
49
50// Add the recipientId
51
52// Prototype:
53// void addRecipientIds(char* recipientIds);
54
55// Parameters:
57
58// Returns:
60 void addRecipientIds(char* recipientIds);
61
62// Function: GroupchatsGet.appendRecipientIds
63
64// Append the selected recipientIds
65
66// Prototype:
67// void appendRecipientIds();
68
69// Parameters:
70
71// Returns:
73 void appendRecipientIds();
74
75// Function: GroupchatsGet.getEPurl
76
77// provides the full url for this endpoint
78
79// Prototype:
80// char* getEPurl();
81
82// Parameters:
83
84// Returns:
86 char* getEPurl();
87};
88
89#endif
Definition groupchats_get.h:7
void setObj()
Definition groupchats_get.cpp:15
GroupchatsGet(char *json, char *jsonArray)
Definition groupchats_get.h:27
void appendRecipientIds()
Definition groupchats_get.cpp:50
char * getEPurl()
Definition groupchats_get.cpp:67
void addRecipientIds(char *recipientIds)
Definition groupchats_get.cpp:33