Page MenuHomePhorge

receipts.hpp
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

receipts.hpp

/******************************************************************************
* THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
*/
#pragma once
#include "basejob.hpp"
namespace Kazv {
/*! \brief Send a receipt for the given event ID.
*
* This API updates the marker for the given receipt type to the event ID
* specified.
*/
class PostReceiptJob : public BaseJob {
public:
// Construction/destruction
/*! \brief Send a receipt for the given event ID.
*
* \param roomId
* The room in which to send the event.
*
* \param receiptType
* The type of receipt to send.
*
* \param eventId
* The event ID to acknowledge up to.
*
* \param receipt
* Extra receipt information to attach to ``content`` if any. The
* server will automatically set the ``ts`` field.
*/
explicit PostReceiptJob(std::string serverUrl
, std::string _accessToken
,
std::string roomId , std::string receiptType , std::string eventId , JsonWrap receipt = {});
static BaseJob::Query buildQuery(
);
static BaseJob::Body buildBody(std::string roomId, std::string receiptType, std::string eventId, JsonWrap receipt);
static bool success(Response r);
};
}
namespace nlohmann
{
using namespace Kazv;
}
namespace Kazv
{
} // namespace Kazv

File Metadata

Mime Type
text/x-c++
Expires
Thu, Oct 2, 2:05 AM (6 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
486876
Default Alt Text
receipts.hpp (1 KB)

Event Timeline