semilimes mcu sdk 1.1.4 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
6 class GroupchatMessageGet
7{
8 private:
9 SmeJson json_data;
10 char* json = nullptr;
11
12 public:
13// Function: ~GroupchatMessageGet
14
15// distructor of the class, frees up the memory occupied by the array/s
16
17// Prototype:
18// ~GroupchatMessageGet()
19
20// Parameters:
21
22// Returns:
24 ~GroupchatMessageGet()
25 {
26 delete[] json;
27 json = nullptr;
28 }
29
30// Function: GroupchatMessageGet.set
31
32// This endpoint returns a list of messages in the specified Group chat.
33
34// Prototype:
35// void set(const char* groupChatId,const char* messageId,int limit);
36
37// Parameters:
41
42// Returns:
44 void set(const char* groupChatId,const char* messageId,int limit);
45
46// Function: GroupchatMessageGet.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: GroupchatMessageGet.getWSEPurl
60
61// provides this endpoint
62
63// Prototype:
64// char* getWSEPurl();
65
66// Parameters:
67
68// Returns:
70 char* getWSEPurl();
71
72// Function: GroupchatMessageGet.get
73
74// return the json script
75
76// Prototype:
77// void GroupchatMessageGet::get();
78
79// Parameters:
80
81// Returns:
83 char* get();
84};
85
86#endif
GroupchatMessageGet
Definition groupchat_message_get.h:7
GroupchatMessageGet::get
char * get()
Definition groupchat_message_get.cpp:75
GroupchatMessageGet::getEPurl
char * getEPurl()
Definition groupchat_message_get.cpp:41
GroupchatMessageGet::~GroupchatMessageGet
~GroupchatMessageGet()
Definition groupchat_message_get.h:24
GroupchatMessageGet::getWSEPurl
char * getWSEPurl()
Definition groupchat_message_get.cpp:58
GroupchatMessageGet::set
void set(const char *groupChatId, const char *messageId, int limit)
Definition groupchat_message_get.cpp:18