HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

setContent

Defines the content of an attachment in Optimizely Campaign.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
attachmentIdlongID of the attachment
contentbyte[ ]Content of the attachment (in binary form)

Return values

  • Code structure

    void setContent(String sessionId, long attachmentId, byte[] content)
    

What’s Next
Did this page help you?