semilimes mcu sdk 1.0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
groupchat_message_update.h
1#ifndef _groupchat_message_update_
2#define _groupchat_message_update_
3
4#include "../defines.h"
5
7{
8private:
9 #define headerSize 33
10 SmeJson json_data;
11 char* json = nullptr;
12
13public:
14// Function: ~GroupchatMessageUpdate
15
16// distructor of the class, frees up the memory occupied by the array/s
17
18// Prototype:
19// ~GroupchatMessageUpdate()
20
21// Parameters:
22
23// Returns:
26 {
27 delete[] json;
28 json = nullptr;
29 }
30
31// Function: GroupchatMessageUpdate.set
32
33// This endpoint allows to update a specific message published in a group Chat
34
35// Prototype:
36// void set(char* messageId, char* dataComponent);
37
38// Parameters:
41
42// Returns:
44 void set(char* messageId, char* dataComponent);
45
46// Function: GroupchatMessageUpdate.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// Function: GroupchatMessageUpdate.get
60
61// return the json script
62
63// Prototype:
64// void GroupchatMessageUpdate::get();
65
66// Parameters:
67
68// Returns:
70 char* get();
71};
72
73#endif
Definition groupchat_message_update.h:7
char * getEPurl()
Definition groupchat_message_update.cpp:39
char * get()
Definition groupchat_message_update.cpp:56
void set(char *messageId, char *dataComponent)
Definition groupchat_message_update.cpp:17
~GroupchatMessageUpdate()
Definition groupchat_message_update.h:25