semilimes mcu sdk 1.1.4 semilimes Software Development Kit for microcontrollers

Loading...
Searching...
No Matches
groupchat_reaction_remove.h
1#ifndef _groupchat_reaction_remove_
2#define _groupchat_reaction_remove_
3
4#include "../defines.h"
5
6 class GroupchatReactionRemove
7{
8 private:
9 SmeJson json_data;
10 char* json = nullptr;
11
12 public:
13// Function: ~GroupchatReactionRemove
14
15// distructor of the class, frees up the memory occupied by the array/s
16
17// Prototype:
18// ~GroupchatReactionRemove()
19
20// Parameters:
21
22// Returns:
24 ~GroupchatReactionRemove()
25 {
26 delete[] json;
27 json = nullptr;
28 }
29
30// Function: GroupchatReactionRemove.set
31
32// This endpoint allows the account to remove a reaction from a specific message in a Group Chat.
33
34// Prototype:
35// void set(const char* messageId, const char* reaction);
36
37// Parameters:
40
41// Returns:
43 void set(const char* messageId, const char* reaction);
44
45// Function: GroupchatReactionRemove.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: GroupchatReactionRemove.getWSEPurl
59
60// provides this endpoint
61
62// Prototype:
63// char* getWSEPurl();
64
65// Parameters:
66
67// Returns:
69 char* getWSEPurl();
70
71// Function: GroupchatReactionRemove.get
72
73// return the json script
74
75// Prototype:
76// void GroupchatReactionRemove::get();
77
78// Parameters:
79
80// Returns:
82 char* get();
83};
84
85#endif
GroupchatReactionRemove
Definition groupchat_reaction_remove.h:7
GroupchatReactionRemove::get
char * get()
Definition groupchat_reaction_remove.cpp:73
GroupchatReactionRemove::getWSEPurl
char * getWSEPurl()
Definition groupchat_reaction_remove.cpp:56
GroupchatReactionRemove::getEPurl
char * getEPurl()
Definition groupchat_reaction_remove.cpp:39
GroupchatReactionRemove::~GroupchatReactionRemove
~GroupchatReactionRemove()
Definition groupchat_reaction_remove.h:24
GroupchatReactionRemove::set
void set(const char *messageId, const char *reaction)
Definition groupchat_reaction_remove.cpp:17