20 nl::json json = nl::json::object();
26 void fromJson([[maybe_unused]]
const nl::json& json) {
#define OBJECT_SERIALIZE_FIELD(json, json_field, field)
Available objects: https://core.telegram.org/bots/api#available-types.
#define OBJECT_DESERIALIZE_FIELD(json, json_field, field, default_value, optional)
Deserialize.
Describes an inline message sent by a Web App on behalf of a user. https://core.telegram....
std::string inlineMessageId
Optional. Identifier of the sent inline message. Available only if there is an inline keyboard attach...
nl::json toJson() const
Serializes this object to JSON.
void fromJson([[maybe_unused]] const nl::json &json)
Deserializes this object from JSON.
SentWebAppMessage(const nl::json &json)
SentWebAppMessage()=default