semilimes mcu sdk 0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
channel_message_send.h
1#ifndef _send_channel_message_
2#define _send_channel_message_
3
4#include "../defines.h"
5
7{
8private:
9 SmeJson json_data;
10 char** pjson;
11
12public:
13// Function: ChannelMessageSend
14
15// This endpoint allows to send a data component to a Channel as a new message.
16
17// Prototype:
18// void ChannelMessageSend(char* json);
19
20// Parameters:
22
23// Returns:
26 {
27 pjson = &json;
28 json_data.initJson(*pjson);
29 }
30
31// Function: ChannelMessageSend.setObj
32
33// This endpoint allows to send a data component to a Channel as a new message.
34
35// Prototype:
36// void setObj(char* messageId, char* dataComponent);
37
38// Parameters:
41
42// Returns:
44 void setObj(char* channelId, char* dataComponent);
45
46// Function: ChannelMessageSend.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
60#endif
Definition channel_message_send.h:7
ChannelMessageSend(char *json)
Definition channel_message_send.h:25
char * getEPurl()
Definition channel_message_send.cpp:36
void setObj(char *channelId, char *dataComponent)
Definition channel_message_send.cpp:17