| semilimes mcu sdk 1.1.2 semilimes Software Development Kit for microcontrollers

Loading...
Searching...
No Matches
groupchat_message_reply.h
1#ifndef _groupchat_message_reply_
2#define _groupchat_message_reply_
3
4#include "../defines.h"
5
6 class GroupchatMessageReply
7{
8 private:
9 SmeJson json_data;
10 char* json = nullptr;
11
12 public:
13// Function: ~GroupchatMessageReply
14
15// distructor of the class, frees up the memory occupied by the array/s
16
17// Prototype:
18// ~GroupchatMessageReply()
19
20// Parameters:
21
22// Returns:
24 ~GroupchatMessageReply()
25 {
26 delete[] json;
27 json = nullptr;
28 }
29
30// Function: GroupchatMessageReply.set
31
32// This endpoint allows the account to reply to a specific message with a simple text.
33
34// Prototype:
35// void set(const char* messageId, const char* dataComponent);
36
37// Parameters:
40
41// Returns:
43 void set(const char* messageId, const char* dataComponent);
44
45// Function: GroupchatMessageReply.getEPurl
46
47// provides the full url for this endpoint
48
49// Prototype:
50// char* getEPurl();
51
52// Parameters:
53
54// Returns:
56 char* getEPurl();
57
58// Function: GroupchatMessageReply.getWSEPurl
59
60// provides this endpoint
61
62// Prototype:
63// char* getWSEPurl();
64
65// Parameters:
66
67// Returns:
69 char* getWSEPurl();
70
71// Function: GroupchatMessageReply.get
72
73// return the json script
74
75// Prototype:
76// void GroupchatMessageReply::get();
77
78// Parameters:
79
80// Returns:
82 char* get();
83};
84
85#endif
GroupchatMessageReply
Definition groupchat_message_reply.h:7
GroupchatMessageReply::~GroupchatMessageReply
~GroupchatMessageReply()
Definition groupchat_message_reply.h:24
GroupchatMessageReply::getWSEPurl
char * getWSEPurl()
Definition groupchat_message_reply.cpp:56
GroupchatMessageReply::get
char * get()
Definition groupchat_message_reply.cpp:73
GroupchatMessageReply::set
void set(const char *messageId, const char *dataComponent)
Definition groupchat_message_reply.cpp:17
GroupchatMessageReply::getEPurl
char * getEPurl()
Definition groupchat_message_reply.cpp:39