Skip to main content

user_message_with_images

Function user_message_with_images 

pub fn user_message_with_images(
    text: impl Into<String>,
    images: &[InboundImage],
) -> Inbound
Expand description

An inbound user message of text with images: kind MESSAGE_KIND, payload {"text": ..., "images": [...]}. At most MAX_INBOUND_IMAGES images and MAX_INBOUND_IMAGE_BYTES bytes are read from it.