Class FunctionResponsePart

  • All Implemented Interfaces:

    
    public abstract class FunctionResponsePart
    extends JsonSerializable
                        

    A datatype containing media that is part of a `FunctionResponse` message.

    A `FunctionResponsePart` consists of data which has an associated datatype. A `FunctionResponsePart` can only contain one of the accepted types in `FunctionResponsePart.data`.

    A `FunctionResponsePart` must have a fixed IANA MIME type identifying the type and subtype of the media if the `inline_data` field is filled with raw bytes.