SecureBlackbox 2020 Python Edition

Questions / Feedback?

attach_image Method

Creates an image attachment from a memory buffer.

Syntax

def attach_image(id: str, data: bytes) -> int: ...

Remarks

Use this method to create a picture attachment from a memory buffer. Use attachments property to provide further attachment details.

The method returns the index of the new attachment in the attachments list.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Python Edition - Version 20.0 [Build 8154]