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

Method attachment

src/dpp/message.cpp:1233–1242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1231}
1232
1233attachment::attachment(struct message* o)
1234 : id(0)
1235 , size(0)
1236 , width(0)
1237 , height(0)
1238 , ephemeral(false)
1239 , flags(0)
1240 , owner(o)
1241{
1242}
1243
1244attachment::attachment(struct message* o, json *j) : attachment(o) {
1245 this->id = snowflake_not_null(j, "id");

Callers

nothing calls this directly

Calls 6

snowflake_not_nullFunction · 0.85
string_not_nullFunction · 0.85
int32_not_nullFunction · 0.85
bool_not_nullFunction · 0.85
double_not_nullFunction · 0.85
int8_not_nullFunction · 0.85

Tested by

no test coverage detected