---
schema_version: "1"
id: 3764ce8c6abe2c0615e1314646bb63381fc9877378e6f9ea1044c9a1a7158828
title: ConnectApi.InlineImageSegment
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_inline_image_message_segment.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_inline_image_message_segment.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 61ffd7ef571aa10cad2c55a04d4c4e31e3ddf9fbd451f6009e3fce25b01886fc
description: An inline image in the feed body.
---
# ConnectApi.InlineImageSegment

An inline image in the feed body.

Subclass of [ConnectApi.MessageSegment](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_msg_seg.htm "Message segment.").

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| altText | String | Alt text for the inline image. | 35.0 |
| contentSize | Integer | Size of the file in bytes. | 35.0 |
| fileExtension | String | Extension of the file, such as gif. | 37.0 |
| thumbnails | [ConnectApi.File​PreviewCollection](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_file_preview_collection.htm#apex_connectapi_output_file_preview_collection "A collection of file previews.") | Information about the available thumbnails for the image. | 35.0 |
| url | String | URL to the latest version of the inline image. | 35.0 |