MCPcopy Create free account
hub / github.com/brainboxdotcc/DPP / interaction_response_get_original

Method interaction_response_get_original

src/dpp/cluster/appcommand.cpp:154–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void cluster::interaction_response_get_original(const std::string &token, command_completion_event_t callback) {
155 rest_request<message>(this, API_PATH "/webhooks",std::to_string(me.id), utility::url_encode(token) + "/messages/@original", m_get, "", callback);
156}
157
158void cluster::interaction_followup_create(const std::string &token, const message &m, command_completion_event_t callback) {
159 this->post_rest_multipart(API_PATH "/webhooks", std::to_string(me.id), utility::url_encode(token), m_post, m.build_json(), [this, callback](json &j, const http_request_completion_t& http) {

Callers

nothing calls this directly

Calls 2

to_stringFunction · 0.85
url_encodeFunction · 0.85

Tested by

no test coverage detected