Skip to main content
YoLead exposes attachment metadata for newly processed Telegram, email, Facebook, and Instagram messages. For email, this includes Inbox messages and external messages discovered through Sent-folder synchronization. Attachment descriptors can appear in: Each attachment has this shape:
Only id and kind are guaranteed. Integrations must tolerate missing optional metadata and attachment kinds added in future versions. Provider identifiers, temporary provider URLs, credentials, storage paths, and storage state are never included in the descriptor.

Telegram albums

Telegram sends each album item as a separate message. Ticket history can include the same optional mediaGroupId on those messages so an integration can group them. Each Telegram message contains at most one attachment descriptor. mediaGroupId is currently part of Public API ticket history messages; it is not included in message webhook objects.

Availability and history

Attachment metadata is available only for messages processed after attachment support was enabled. Existing messages and history imported from a source channel are not backfilled, so older messages can have an empty attachments array even when the original provider message contained a file. The Public API exposes attachment metadata but does not currently provide an API-key-authenticated endpoint for downloading attachment bytes. YoLead’s authenticated application and embedded iframe can display or download files when they are still available. Do not construct a download URL from the attachment id.