semilimes mcu sdk 0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
channel_message_get.h
1#ifndef _channels_message_get_
2#define _channels_message_get_
3
4#include "../defines.h"
5
7{
8private:
9 SmeJson json_data;
10 char** pjson;
11
12public:
13// Function: ChannelMessageGet
14
15// This endpoint returns a list of messages in the specified Channel.
16
17// Prototype:
18// void ChannelMessageGet(char* json);
19
20// Parameters:
22
23// Returns:
26 {
27 pjson = &json;
28 json_data.initJson(*pjson);
29 }
30
31// Function: ChannelMessageGet.setObj
32
33// This endpoint returns a list of messages in the specified Channel.
34
35// Prototype:
36// void setObj(char* channelId,char* messageId,int limit);
37
38// Parameters:
42
43// Returns:
45 void setObj(char* channelId,char* messageId,int limit);
46
47// Function: ChannelMessageGet.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
61#endif
Definition channel_message_get.h:7
char * getEPurl()
Definition channel_message_get.cpp:38
void setObj(char *channelId, char *messageId, int limit)
Definition channel_message_get.cpp:18
ChannelMessageGet(char *json)
Definition channel_message_get.h:25