semilimes mcu sdk 1.1.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
groupchat_message_get.h
1#ifndef _groupchat_message_get_
2#define _groupchat_message_get_
3
4#include "../defines.h"
5
7{
8private:
9 #define headerSize 42
10 SmeJson json_data;
11 char* json = nullptr;
12
13public:
14// Function: ~GroupchatMessageGet
15
16// distructor of the class, frees up the memory occupied by the array/s
17
18// Prototype:
19// ~GroupchatMessageGet()
20
21// Parameters:
22
23// Returns:
26 {
27 delete[] json;
28 json = nullptr;
29 }
30
31// Function: GroupchatMessageGet.set
32
33// This endpoint returns a list of messages in the specified Group chat.
34
35// Prototype:
36// void set(char* groupChatId,char* messageId,int limit);
37
38// Parameters:
42
43// Returns:
45 void set(char* groupChatId,char* messageId,int limit);
46
47// Function: GroupchatMessageGet.getEPurl
48
49// provides the full url for this endpoint
50
51// Prototype:
52// char* getEPurl();
53
54// Parameters:
55
56// Returns:
58 char* getEPurl();
59
60// Function: GroupchatMessageGet.get
61
62// return the json script
63
64// Prototype:
65// void GroupchatMessageGet::get();
66
67// Parameters:
68
69// Returns:
71 char* get();
72};
73
74#endif
Definition groupchat_message_get.h:7
char * get()
Definition groupchat_message_get.cpp:58
void set(char *groupChatId, char *messageId, int limit)
Definition groupchat_message_get.cpp:18
char * getEPurl()
Definition groupchat_message_get.cpp:41
~GroupchatMessageGet()
Definition groupchat_message_get.h:25