MCPcopy Create free account
hub / github.com/TelegramMessenger/cocoon / process_static_content

Function process_static_content

runners/helpers/ValidateRequest.cpp:1037–1042  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1035}
1036
1037static td::Status process_static_content(Ctx &ctx) {
1038 TRY_STATUS(ctx.process_obj_field("type", true, process_string));
1039 TRY_STATUS(ctx.process_obj_field("content", true,
1040 [](Ctx &ctx) { return process_string_or_array(ctx, process_content_part); }));
1041 return td::Status::OK();
1042}
1043
1044static td::Status process_stream_options(Ctx &ctx) {
1045 TRY_STATUS(ctx.process_obj_field("include_obfuscation", false, process_boolean));

Callers

nothing calls this directly

Calls 2

process_string_or_arrayFunction · 0.85
process_obj_fieldMethod · 0.80

Tested by

no test coverage detected