[#absl-Status-GetPayload] = xref:absl.adoc[absl]::xref:absl/Status.adoc[Status]::GetPayload :relfileprefix: ../../ :mrdocs: Gets the payload of a status given its unique `type_url` key, if present. == Synopsis Declared in `<absl/status/status.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::optional<absl::Cord> GetPayload(std::string_view type_url) const; ---- == Return Value The payload if present, or `std::nullopt` otherwise. == Parameters [cols="1,4"] |=== | Name| Description | *type_url* | The unique key identifying the payload. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#